Download the PHP package purplebabar/flightpilot without Composer
On this page you can find all versions of the php package purplebabar/flightpilot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download purplebabar/flightpilot
More information about purplebabar/flightpilot
Files in purplebabar/flightpilot
Package flightpilot
Short Description This is a Backbone to build simple app with Flight
License MIT
Informations about the package flightpilot
FlightPilot
Backbone to build a simple Flight App
Presentation
FlightPilot is just a backbone to build a Flight App. Therefore you'll need to know Flight from mikecao. You can install FlightPilot with composer : php composer.phar create-project purplebabar/flightpilot path/to/your/project
Config
In the app/config folder you'll be able to congfigure your app. The config.yml is used to override Flight parameters. The smarty/smarty.conf is used to override Smarty parameters.
Routing
Every php file in the src/Routing folder will be loaded.
Errors
Errors are displayed in a template that you can modify to suit your needs. If you change the views path, let the Errors folder in or recreate one in order to personnalize them. To personnalize an error, just create a file named (code).tpl in the Views/Errors folder.
Template Engine
Smarty is the template engine.
Assets
Assets must be placed in the web folder and be called with th following path: 'http://{$smarty.server.SERVER_NAME}/path/to/your/file.format'
All versions of flightpilot with dependencies
mikecao/flight Version v1.2
mustangostang/spyc Version 0.5.1
smarty/smarty Version 3.1.*