vtardia/php-skel

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP Skeleton Project buildable with Phing

dev-master 2013-05-21 15:48 UTC

This package is auto-updated.

Last update: 2022-01-23 20:54:44 UTC


README

A PHP Skeleton Project template buildable with Phing

Installation

You can create a new skeleton project using composer.phar:

$ 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.

Requirements

In order to deploy skeleton projects you will need:

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).

If you need them as project's requirements insert these lines in your composer.json file:

"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.

Sample Skeletons

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

"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.