Download the PHP package lracicot/silex-template without Composer
On this page you can find all versions of the php package lracicot/silex-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lracicot/silex-template
More information about lracicot/silex-template
Files in lracicot/silex-template
Package silex-template
Short Description A small silex template for scalable web application
License
Informations about the package silex-template
WARNING: The end of life of Silex has been set for June 2018. This package will be no longer maintained. Please use Symfony 4.
Silex Template
This Silex template has been written to shorten the setup process of a new Silex Application.
Pre-installation
You will need the following program installed in your computer:
Installation
Create your project:
Go to your project:
Setup your environment:
Change the values you need in the .env
file.
Run the tests
Start the server:
Try it! http://localhost:8000
Configuration
When you are deploying, there are a few configuration you might want to change. Here are the available configurations:
ENVIRONMENT: Can be development, staging, testing or production (default: development)
BASEURL: If you are running Silex in a subdirectory, you can change this. It will make the routes and the assets work.
What's included?
Libraries
- monolog - Logging for PHP.
- phpdotenv - Loads environment variables.
- twig - Templating system, with a default base template.
- A default controller, with the Controller Provider system.
- bootstrap - The CSS framework.
- jQuery - The "J" word. Yep, I said it. How do you feel about it ?
Optional dependencies
The security bundle
The doctrine DBAL
A doctrine ORM service provider
All versions of silex-template with dependencies
silex/silex Version ~2.0
monolog/monolog Version ^1.21
vlucas/phpdotenv Version ^2.4
twig/twig Version ^1.26
symfony/asset Version ^3.1
symfony/twig-bridge Version ^3.1