mrcoco / slim3-eloquent-skeleton

This is a simple skeleton project fork from akrabat/slim3-skeleton that includes scaffold tool, migrations,auth,Twig Twig, Flash messages, eloquent ORM and Monolog.
BSD 3-Clause "New" or "Revised" License
73 stars 20 forks source link

Slim 3 Skeleton

This is a simple skeleton project fork from akrabat/slim3-skeleton that includes scaffold tool, migrations,auth,Twig, Flash messages, eloquent ORM and Monolog.

Create your project:

$ composer create-project -n -s dev mrcoco/slim3-eloquent-skeleton my-app

Run it:

  1. $ cd my-app
  2. Change database setting app\setting.php
  3. $ vendor/davedevelopment/phpmig/bin/phpmig migrate
  4. $ php -S 0.0.0.0:8888 -t public public/index.php
  5. Browse to http://localhost:8888

Key directories

Key files

CLI Tools

Migration

Demo User:

  1. admin username: admin@slim.dev password: password
  2. moderator username: moderator@slim.dev password: password
  3. user username: user@slim.dev password: password