werx/skeleton

Skeleton Application for the Werx Project

1.6.0 2015-03-05 05:04 UTC

This package is auto-updated.

Last update: 2024-11-29 04:46:58 UTC


README

Skeleton PHP-MVC application implementing the components from the Werx Project.

Total Downloads Latest Stable Version

Use this as a clean starting point in your Werx-based projects.

Briefly, the Werx Project bundles the following components and lets them work together to form the basic building blocks of a PHP application:

Read the docs at https://github.com/werx/core/blob/master/README.md

Installation

Installation of this package is easy with Composer. If you aren't familiar with the Composer Dependency Manager for PHP, you should read this first.

If you don't already have Composer installed (either globally or in your project), you can install it like this:

$ curl -sS https://getcomposer.org/installer | php

Then you can create a new Werx Skeleton project:

$ composer create-project werx/skeleton your-project-name --stability=dev

The default base namespace of your new app skeleton is werx\Skeleton. You can easily change the namespace in all files using the provided install.php after downloading this project.

php install.php "Your\AppNamespace"

Of course, replace Your\AppNameSpace in the above command with whatever you want to use as your base namespace.

IMPORTANT : Make sure your new namespace is quoted in the install command as shown above.