afshinpersian / afshlim_framework
Slim fullstack framework in my way!
1.1.2
2018-02-15 08:31 UTC
Requires
- php: >= 7.0.0
- buchin/slim-blade-view: dev-master
- davedevelopment/phpmig: ^1.4
- davidepastore/slim-validation: ^0.5.0
- gregwar/image: 2.*
- illuminate/database: ~5.5
- illuminate/pagination: ~5.5.0
- monolog/monolog: ^1.23
- runcmf/runtracy: ^0.2.3
- slim/csrf: ^0.8.2
- slim/flash: ^0.4.0
- slim/slim: ^3.0
- swiftmailer/swiftmailer: ^6.0
- symfony/console: ^3.3
- vlucas/phpdotenv: ^2.4
- zeuxisoo/slim-whoops: 0.6.*
- zhangshize/slim-facades: ^1.1
Requires (Dev)
- phpunit/phpunit: 5.4.*
- symfony/process: 2.*
This package is not auto-updated.
Last update: 2024-11-10 04:53:29 UTC
README
AfshlimFramework
a Slim framework boilerplate in my Way
Contents
Usage
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
How to install
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
Libraries
- 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
CLI Tools
- 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
TODO
- registration
- login 1 step
- login 2 step
- admin panel
- sending email
- image manupulation
- ajax support