lesibv / crud-mvc-template

Simple PHP CRUD template using MVC architecture

Repository from Github https://github.comlesibv/crud-mvc-templateRepository from Github https://github.comlesibv/crud-mvc-template

crud-mvc-template

Simple PHP CRUD template using MVC architecture.

Just for educational purpuses.

Techs

  • PHP 7
  • MariaDB
  • Apache2
  • phpMyAdmin
  • Bootstrap 4
  • JQuery 3.4

Installation

  • Install LAMP stack
  • Set up Apache
    • Opt1: Create a virtualhost with its own documentroot "/srv/http/crud-mvc-template"
    • Opt2: Edit httpd.conf file and set main DocumentRoot directive: DocumentRoot "/srv/http/crud-mvc-template" for Linux. DocumentRoot "C:/xampp/htdocs/crud-mvc-template" for XAMPP on Windows.
    • Set AllowOverride to AllowOverride All
  • Edit DB credentials in /app/config.php
  • Import database in /assets/crud.example.sql

About

Simple PHP CRUD template using MVC architecture


Languages

Language:JavaScript 90.5%Language:CSS 7.2%Language:PHP 1.4%Language:Hack 0.7%Language:TSQL 0.2%