a Slim framework boilerplate in my Way
as a php developer I used to use many php frameworks such as laravel- yii - codeigniter and in the other hand I have used some php micro frameworks like SLIM , SILEX , FatfreeFramework ... but micro frameworks are tiny and fullstacks are huge , this skeleton is very slim with features of full stack frameworks .. this is my way to creating new framework ... I know it's not perfect .. but it's easy to use and full featured tool
Run this command from the directory in which you want to install
composer create-project afshinpersian/afshlim_framework
create mysql database
copy .env_example file
cp .env_example .env
run migration with this command
php afsh migrate
it's done
- Helpers
- Services
- Symfony VarDumper
- Environment variables with Dotenv
- Translation And Localizations
- Core Interfaces
- MVC Pattern
- DataAccess Repository Pattern
- Command Line Tool For Better and Easy Developing
- Facade Pattern slim-facades
- Logging with Monolog
- Blade View
- slim/csrf
- slim/Flash
- symfony command
- Database Migration With PhpMig
- Image Manupulation with gregwar/image
- Modular System
- Currently there are some supported commands:
php afsh make:controller MyControllerClassName
php afsh make:middleware MyMiddlewareClassName
php afsh make:model MyModelClassName
php afsh make:migration MymigrationClassName
php afsh list
// list of commnadsphp afsh migrate
// run migrationsphp afsh migrate:rollback
// rollback migrationsphp afsh migration:status
// checking status of migrationsphp afsh routes:list
// getting routes list in cli tool
- registration
- login 1 step
- login 2 step
- admin panel
- sending email
- image manupulation
- ajax support