Skip to content

paradoxos/php-mvc-framework

 
 

Repository files navigation

PHP MVC framework

Minimalistic custom framework created for educational purposes.

The framework is not well tested on production. If you use it on production you use it on your own risk.

Related core package: https://github.com/thecodeholic/tc-php-mvc-core


Installation

  1. Download the archive or clone the project using git
  2. Create database schema
  3. Create .env file from .env.example file and adjust database parameters (including schema name)
  4. Run composer install
  5. Run migrations by executing php migrations.php from the project root directory
  6. Go to the public folder
  7. Start php server by running command php -S 127.0.0.1:8080
  8. Open in browser http://127.0.0.1:8080

The project was created along with Youtube Video Series "Build PHP MVC Framework". I appreaciate if you share it.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.1%
  • Hack 9.3%
  • Shell 0.6%