Speedy is a full stack framework as it handles everything from serving the web content to database management and also managing the HTML generation all integrated in one Framework. Speedy provides an amazing experience for developers and designers alike.
Speedy follows the following directory and file structure:
This is the project root directory, it contains all the project and framework data.
The App directory holds the app configuration and the routes to be used.
Holds the app configuration array which may be accessed within the app in the $_ENV variables.
This is where all the routes for the application are declared.
Contains the controllers required for the application.
A sample controller file. Notice the camelCase of the controller name which is also the name of the class it contains.
This directory contains the main classes and files required for the framework to function.
The autoload file is the primary linking point of all the Core classes and plugins. It automatically loads the classes from the /Core Directory.
The Bridge.php is the interfacing bridge between the back-end of the application and the user. Any request that passes to the application, comes through the Bridge Class.
Contains the framework base classes.
Contains the Base Authentication Class for Auth Middleware
Contains the Base Class for working with Controllers.
Contains the Base Class for CSRF Token based Middleware.
Framework's Cookie Management Class
Speedy's Auto Cron handler.
Database management Database Abstraction Layer(DAL) container.
Framework's Helper functions container which can be called without objects or parent classes.
Request data filtering and handling Class.
Mail Handling Class, used to send out mails.
Application Routing management class.
Fast Session Handler / Manager class.
Class containing framework's core functions.
Contains the Application's Middleware. Custom Middleware can be added.
Authentication Middleware Class.
CSRF Middleware Class.
This directory holds the sub applications required for the functioning of the Framework, anything added or removed in composer.json gets affected in this directory.
Holds the Speedy auto cron handler definition file.
Contains the cron commands to be executed along with their job run schedules.
Contains the cron-job run logs.
Contains Migrations (SQL Files) and lock file. Sql Files added here can be used to update database by running the migration command of creator.
Register that maintains the migration run details.
SQL File containing migration(SQL Code) for API Keys table.
SQL File containing migration(SQL Code) for Users table.
This is the directory which contains the Framework's Manual. The reference you are currently reading rests here :)
This is the publicly accessible directory all the custom css, js, images and other static files should be placed here (preferably all bundled in a directory e.g. assets).
This is the application request forwarding file aka. the apache server configuration file.
This is the file to which all the user requests finally head to for further processing.
This directory contains the cache and log files of Speedy.
This directory contains the template engine cache files.
Template engine views cache directory.
Storage lock file.
Contains application's log messages
Contains unit testing files.
PHPUnit basic flow tests file.
Contains application view files. All files contained herein should possibly end with the .vu.php file extension.
404 Error Page.
Welcome Page.
Application initialization lock file.
Composer dependency management file.
This is the file which should be executed in the command line to execute application functions such as migrating tables or creating controllers etc.
Speedy PHP Framework End User License Agreement (EULA) file.
Description and installation procedure of Speedy PHP Framework.
Invoked when development server is started.