Skeleton Application for Toadsuck
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 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\AppNameSpacein 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.