aanbar/slimapp

A Slim Framework skeleton application for rapid development

v0.1 2018-09-15 16:13 UTC

This package is auto-updated.

Last update: 2024-03-16 05:04:44 UTC


README

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