Skip to content

angelokezimana/elephpant-project

Repository files navigation

Elephpant project

This project is for learning purposes only and entirely inspired by Zura Sekhniashvili's video course.

You can find that video course on the freeCodeCamp youtube channel and the source code here.

Use PHP to Create an MVC Framework - Full Course

Installation

  1. First of all, clone this project git clone https://github.com/angelokezimana/elephpant-project.git;
  2. Navigate to the root project folder cd elephpant-project;
  3. Install the dependencies of this project via composer composer install;
  4. Copy the .env.example file and rename it to .env or just use cp .env.example .env;
  5. Change the credentials of your database in the .env file;
  6. Run migrations php migrations.php.

Run php built-in web server php -S 127.0.0.1:8000 -t public.