Skip to content

semhoun/slim-skeleton-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim 4 MVC Skeleton

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]
  1. 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/console.php orm:convert-mapping --from-database annotation ./src/Entity ⚠️ Delete all entities before re-generate to update entities.