Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slimapp

Usage

$ composer create-project aanbar/slimapp [app_name]
$ cd [app_name]
$ cp .env.example .env

Replace [app-name] with the desired directory name for your new application.

Edit your .env file and begin working!

Includes

  • 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.field in twig views + custom exclusion list in middleware

About

Boilerplate code for slim framework, provides controllers, models (using eloquent), views (twig)

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages