semhoun/slim-skeleton-mvc

Simple Slim Framework 4 skeleton with Twig, Monolog, Doctrine in Sqlite.

4.0.3 2021-01-06 08:24 UTC

This package is auto-updated.

Last update: 2022-01-16 20:44:48 UTC


README

Codacy Badge Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads

This is a simple web application skeleton project that uses the Slim4 Framework:

Prepare

  1. Create your project:

    composer create-project semhoun/slim-skeleton-mvc [your-app]
  2. Create database: ./bin/console.php app:init-db

Run it:

  1. cd [your-app]
  2. php -S 0.0.0.0:8888 -t public/
  3. Browse to http://localhost:8888

Notice

  • Set var folder permission to writable when deploy to production environment
  • Default login/password is admin/admin
  • To generate Doctrine entities:./bin/entities_generator.php ⚠️ Delete all entities before re-generate to update entities.