New Slim WebApp skeleton
Version: 1.0.0 Stable
madithouse/new-slim-webapp is build using slim/slim, and contain basic settings to get started with a new PHP project.
see the code working here
Use composer to get started
composer create-project madithouse/new-slim-webapp
- Setup Database see
databaseStructuredir for database schema.
src/config.phpwith database details.
Pages are rendered using slim/twig
- Views are located in
- Routes ae called using classes, located in
- After setting up routes in classes, make sure you connect them using the container so they can be called by the routes page, container file is located at
- At last setup the route in
src/routes.phpand call them using the container.