# slim-extend **Repository Path**: inhere/slim-extend ## Basic Information - **Project Name**: slim-extend - **Description**: a slim framework extend library - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2016-03-15 - **Last Updated**: 2022-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # slim-extend ## Description slim 3 extend to MVC structure. Some Feature : - Global config, Environment support - Language support - Command support - Twig template engine - Flash Messages - Monolog - Pimple Dependency Injection Container - Controller layer for MVC - RESTFul Controller - Model layer, database query builder. - Tracy Errors Handler(by whoops) ## Install - Use composer edit `composer.json` _require_ add ``` "inhere/slim-extend": "dev-master", ``` run: `composer update` ## Usage ### generate class support: model, command, controller how to use: ```shell php bin/console gen php bin/console gen:model -h ``` - a model ```shell php bin/console gen:model name=rolePermission table=role_permission type=db fileds="id,int;name,string,名称;priority,int,级别;permissions,string,权限" ``` more see [Document](doc/index.md)