mohamed179/php-mvc-framework

Building a php cli

v1.0.0 2021-08-17 00:08 UTC

This package is auto-updated.

Last update: 2024-05-17 06:00:51 UTC


README

My PHP MVC framework

About PHP MVC Framework

Installation

Via composer

composer create-project mohamed179/php-mvc-framework example-app

Configuration

You have to create .env file to configure your application.

You can have cope from .env.example file then write your own configuration

cp .env.example .env

Run the application

You have to run the following command to start serving the application

cd public/
php -S localhost:8000

Then go to: http://localhost:8000

Using CLI

You can run cli commands by running cli file

Examples

php cli --help
php cli migrate
php cli make:controller PostController --model Post

License

This PHP framework is open-source software licensed under the MIT license