khamdullaevuz / mvc
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 1
Forks: 3
Open Issues: 0
Type:project
Requires
- php: >=7.4
- ext-curl: *
- ext-mbstring: *
- ext-pdo: *
This package is auto-updated.
Last update: 2024-11-23 07:23:52 UTC
README
simple mvc project
Usage
Using git (for usage and contribute)
Clone repository
git clone https://github.com/khamdullaevuz/mvc
Dump autoloader
composer dump-autoload
Using composer (for usage)
Create project
composer create-project khamdullaevuz/mvc:dev-main
Configure
Make config
php do make:config
and change config file config/Core.php
Make controller
php do make:controller TestController
Make model
php do make:model Test
Make migration
php do make:migration Products
Migration up
php do migrate:up
Migration down
php do migrate:down
Run server
with default port (8000)
php do serve
and visit localhost:8000
with custom port
php do serve 9000