toadsuck / skeleton
Skeleton Application for Toadsuck
Requires
- php: >= 5.4
- toadsuck/core: dev-master
- werx/validation: dev-master
Requires (Dev)
- phpunit/phpunit: 3.7.*
- squizlabs/php_codesniffer: 1.*
This package is not auto-updated.
Last update: 2024-12-17 03:20:52 UTC
README
Skeleton PHP-MVC application implementing the components from the Toadsuck Project.
Use this as a clean starting point in your Toadsuck-based projects.
Briefly, the Toadsuck Project bundles the following components and lets them work together to form the basic building blocks of a PHP application:
- Configuration Management - FuelPHP\Config
- Database Abstraction - Illuminate\Database
- HTTP Abstraction - Symfony\HttpFoundation
- Routing - Aura.Router
- Templates - Plates Native PHP Templates
- Unit Tests - PHPUnit (of course, why use anything else?)
Read the docs at https://github.com/toadsuck/toadsuck-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 Toadsuck Skeleton project:
$ composer create-project toadsuck/skeleton your-project-name --stability=dev
The default base namespace of your new app skelton is Toadsuck\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.