2017 © Pedro Peláez
 

library php-skel

PHP Skeleton Project buildable with Phing

image

vtardia/php-skel

PHP Skeleton Project buildable with Phing

  • Tuesday, May 21, 2013
  • by vtardia
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP Skel

A PHP Skeleton Project template buildable with Phing, (*1)

Installation

You can create a new skeleton project using composer.phar:, (*2)

$ php composer.phar create-project vtardia/php-skel your-project-directory    

or simply download php-skel.zip, extract it where you want and rename it., (*3)

Requirements

In order to deploy skeleton projects you will need:, (*4)

These dependencies are not included in the composer.json for this package because you may want to install them globally on your machine (ex. inside /usr/share/php/phing)., (*5)

If you need them as project's requirements insert these lines in your composer.json file:, (*6)

"require": {
    "phing/phing": "*"
},

"scripts": {
    "post-install-cmd": [
        "wget https://raw.github.com/fedecarg/phing-filesynctask/master/tasks/ext/FileSyncTask.php -O ./vendor/phing/phing/classes/phing/tasks/ext/FileSyncTask.php"
    ]
},

Note: the scripts section is necessary because the FileSyncTask provided with Phing is not in sync., (*7)

Sample Skeletons

The following sample installs a basic web app with Slim Framework, Monolog, Paris & Idiorm and Swiftmailer., (*8)

"require": {
    "php": ">=5.3",
    "ext-zip": "*",
    "ext-fileinfo": "*",
    "slim/slim": "*",
    "slim/extras": "*",
    "monolog/monolog": "*",
    "j4mie/paris": "*",
    "swiftmailer/swiftmailer": "*"
},

References

License

PHP Skel is licensed under the MIT license., (*9)

The Versions

21/05 2013

dev-master

9999999-dev

PHP Skeleton Project buildable with Phing

  Sources   Download

MIT