Download the PHP package icemanbsi/full-silex without Composer
On this page you can find all versions of the php package icemanbsi/full-silex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icemanbsi/full-silex
More information about icemanbsi/full-silex
Files in icemanbsi/full-silex
Package full-silex
Short Description Several Base Classes to make full stack framework from Silex micro framework
License
Informations about the package full-silex
Full Silex
Silex is a powerfull micro framework. Well, "micro" means you can create a small website within seconds. But sometimes you need to expand this framework into a full stack to moderate a bigger website. To make it happen at least you need to register several service providers, adding some functions in base controller, models, and many more.
Full Silex is the a fast track to build a full stack framework based on the amazing Silex Micro Framework. It contains several base classes such as Base Controller, Base Model, several Helpers, and many more.
Installation
1. Add full-silex as a required library in your composer project
2. Prepare the project
you can copy the project template from /vendor/icemanbsi/full-silex/project-template
into your project root.
3. Setting up the project
- Make a duplicate of
.htaccess.original
and name it with.htaccess
. - Set your database configurations and others in
/resources/config/dev.php
(for development) and/resources/config/prod.php
(for production). - Inside the
src/App/Application.php
you need to override 'setControllerProviders' function. Please set your controller provider. - Now we move to your controller provider (such as
src/App/DefaultControllerProvider.php
). You can set your url rules inside 'setUrlRules' function. Don't forget to add a rule for '/' and bind it with name 'homepage'.
4. You are ready to go..
Add your controllers, models, template files, and others.
Credits
- Silex Framework
- Database migration by Ruckus (ruckusing/ruckusing-migrations)
All versions of full-silex with dependencies
php-activerecord/php-activerecord Version v1.1.*
silex/silex Version ~2.0
ext-mbstring Version *
symfony/config Version ^3.1
symfony/yaml Version ^3.1
symfony/translation Version ^3.1
swiftmailer/swiftmailer Version ^5.4
twig/twig Version ^1.24
symfony/twig-bridge Version ^3.1
ruckusing/ruckusing-migrations Version 1.0.1
monolog/monolog Version ^1.21