Base structure for modular development with Slim + Blade + Illuminate Database + Bootstrap
|-- cache -> Cache directory Template Engine Blade |-- database -> | |-- migrations -> | |-- seeds -> | +-- seavon -> Script responsible for implementation of Migrations and Seeds. (php seavon -h) | +-- development.sqlite -> |-- lib -> |-- public -> Document Root | |-- assets -> | | |-- css -> | | |-- img -> | | |-- js -> | | |-- vendor -> | +-- index.php -> Main Script |-- routes -> Contains files that implement the routes of the modules. (A module per file) | +-- main.route.php -> File that implements the basic routes of the project. (login, menu, 404) | +-- admin.route.php -> File that implements admin routes. |-- vendor -> |-- views -> Contains template files. | |-- _layouts -> Contains layout files (which are extended). | |-- main -> Contains templates of basic pages of the project (login, menu). | +-- 403.blade.php -> Template displayed when a permission problem. | +-- 404.blade.php -> Template displayed when the route is not found. | +-- 500.blade.php -> Template displayed when an error occurs in the system. | +-- maintenance.blade.php -> Template displayed when route is down for maintenance. | +-- fatal_error.html -> Page displayed when a fatal error. +-- .db -> PHP file with DB settings. (host, database, password) +-- LOG.txt -> File containing the entire log.
All libraries used in the project are defined in composer.json.
* php_mbstring * php_sqlite3 * php_pdo_sqlite
All the settings are defined in /public/index.php.