$ composer create-project aanbar/slimapp [app_name]
$ cd [app_name]
$ cp .env.example .envReplace [app-name] with the desired directory name for your new application.
Edit your .env file and begin working!
- Auto resolve controllers in routes using:
ControllerName:Method - Support .env files
- Views using Twig
- Flash messages package already setup in views
- Models using eloquent + database instance already injected in container to allow access using
$this->db - Form validation using Respect
- Validation errors & old input data are injected into views automatically
- Built-in authentication system with Auth & Guest Middleware
- Automatic Csrf check with
csrf.fieldin twig views + custom exclusion list in middleware