Skip to content

PHP Framework from scratch, to help you work on you small an medium projetcs

Notifications You must be signed in to change notification settings

Aniss-nahim/PHPFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPFramework

This is a project that I am still working on to expand and improve it in the future.

PHPFramework provides you with a simple MVC structure to speed up your start in development so you can focus only on the business logic and specifications of your project.

How to run it

Before cloning the projetc you will need to setup your envirement and for that here is what you have to insall on your machine :

  • PHP version >= 5.3.
  • local server Xampp or Wamp ...
  • PHP Dependency Manager Composer.

👌 Great you're almost there.

Colone the project :

git clone https://github.com/Aniss-nahim/PHPFramework.git

So now the next step is to configure the project and install the one and only dependency.

PHPFramework is using one dependency so far vlucas/phpdotenv

Using Composer install vlucas/phpdotenv dependency

$ composer install

For the last step, you gone need to configure your project. Copy .env.exemple content into .env file

$ cp .env.exemple .env 

Now fill .env file with appropriate data.

#Application conf variables
APP_NAME=Your_App_Name
APP_URL=Your_Base_URL_Project

#Database conf variables
DB_CONNECTION=Your_DBMS_NAME // mysql
DB_HOST=Your_DBMS_Host // localhost
DB_PORT=Your_DBMS_Port // 3306
DB_DATABASE=Your_DB_Name // PHPFrameworkDB
DB_USERNAME=Your_DB_Login // root
DB_PASSWORD=Your_DB_Password

👏 👏 👏 You've made it, you can run the project.

How to use it

Coming soon 🔥

About

PHP Framework from scratch, to help you work on you small an medium projetcs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published