Skip to content

BRIGHTLAB/slim-skeleton-mvc

 
 

Repository files navigation

Slim 4 MVC Skeleton

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

CAUTION

The Slim Twig-View is still in active development and can introduce breaking changes. It is an beta release. Of course you can use this skeleton, but be warned. As soon as you update the Slim Twig-View, you might have to modify your code.

Prepare

  1. Create your project:

    clone <this repo>
    composer install
    docker-composer up

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

About

Slim 4 MVC Skeleton

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 89.4%
  • Twig 10.1%
  • Dockerfile 0.5%