Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Custom PHP Framework with MVC Pattern, Twig Template engine, composer and PSR Guidelines

License

Notifications You must be signed in to change notification settings

mubbi/php-framework-MVC-psr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom PHP framework - MVC Pattern - PSR - TWIG

This is a very basic and small custom php framework for quick start and learning purpose.

Features!

  • MVC
  • Composer
  • TWIG
  • PSR
  • Twitter Bootstrap

Tech

This framework includes and uses the following:

  • PHP - powering world's best websites
  • Composer - PHP Dependency Manager
  • Twitter Bootstrap 4 - great UI boilerplate for modern web apps

Minimum Requirements

  • PHP >= 5.4

Installation Guide

  1. git clone https://github.com/mubbi/php-framework-MVC-psr.git
  2. cd php-framework-MVC-psr
  3. composer install

Usage Guide

  1. Create controllers in app/controllers
  2. Create respective views in app/views
  3. in url you can use get properties "c" for controller and "a" for action/method in the controller class.
  4. example URL : http://localhost/?c=home&a=index

NOTE: You can Enable/Disable Twig Template engine from app/configs/app.php

License

MIT

About

Custom PHP Framework with MVC Pattern, Twig Template engine, composer and PSR Guidelines

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages