Download the PHP package bittokazi/php-simple-mvc-framework without Composer
On this page you can find all versions of the php package bittokazi/php-simple-mvc-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-simple-mvc-framework
Start by downloading through composer:
- composer create-project bittokazi/php-simple-mvc-framework
PHP Simple Model View Control(MVC) Framework
Simple Model View and Control Framework Built on PHP.
- Define Routes With Specfic Controller Class Method
- Define All Configuration in a single config File
- Database Migration Feature
- Database Seed Option
- Install, Uninstall, Seed Database with specific link in Development Mode
- Filter option works as middleware
- Moduler Option, add New Features to the Framework as Module
- Module Configuragtion file (Dont want to use a module? just deactivate it)
- Namespacing for every class file
- Interceptor Feature added for modules(Intercepts even before filters)
- Add View file as you want and call it from controller method
- ORM module ADDED for easier database operation
Upcoming Features!
- Templating Engine Module.
Installation
Through Composer
- composer create-project bittokazi/php-simple-mvc-framework
- Database migrations:
- composer db:install
- composer db:seed
- composer db:uninstall
Standalone installation
Just Copy and Paste where you want to run the application and start development!
All the request will go to /public folder
Define Database Migration classes in "database" folder and browse these URLs for Install, Uninstall and Seed (Works in Development mode only)
Route Declare
Declare Routes for Request in "config/routes.php" file (GET/POST Supported Currently). Example
Routes::get(contoller, link); Routes::get(contoller#method, link); Routes::get(contoller#method, link, filter);
Here "?id" is the path variable.
Database Migration file
All database Migration class Files will go in "database/" folder. Example Database Migration Class
You can use prepared statements like this example in Model files