2017 © Pedro Peláez
 

project new-slim-webapp

New Slim WebApp skeleton

image

madithouse/new-slim-webapp

New Slim WebApp skeleton

  • Saturday, September 30, 2017
  • by professorhaseeb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

madithouse/new-slim-webapp

Version: 1.0.0 Stable, (*1)

About

madithouse/new-slim-webapp is build using slim/slim, and contain basic settings to get started with a new PHP project., (*2)

Demo

see the code working here, (*3)

Get Started

Use composer to get started, (*4)

composer create-project madithouse/new-slim-webapp

Database Setup

  1. Setup Database see databaseStructure dir for database schema.
  2. Update src/config.php with database details.

Creating new pages

Pages are rendered using slim/twig * Views are located in src/resources/views * Routes ae called using classes, located in src/classes/Routes * 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 src/container.php * At last setup the route in src/routes.php and call them using the container., (*5)

The Versions