Skip to content

im-javad/my-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Satrap Framework

MVC framework for PHP 8.0.15 and later.
This is a micro framework based around the Model-View-Controller pattern.
A suitable structure for ordinary projects.

Prerequisites

  • PHP >= 8.0.15

Installation

Via Git

  1. Getting framework
git clone https://github.com/im-javad/SatrapFramework.git
  1. Create database schema
  2. Configuring the database in the .env
DB_driver = "mysql"
DB_host = "localhost"
DB_name = "your database name"
DB_user = "root"
DB_password = "your database password"
  1. Go to the public folder
  2. Start php server by running command
php -S 127.0.0.1:8000
  1. Open in browser http://127.0.0.1:8000

Thanks(:<3