|
|
2 주 전 | |
|---|---|---|
| .. | ||
| README.md | 2 주 전 | |
A small PHP MVC app for managing projects, tasks, and activity.
composer install
php scripts/migrate.php up
php scripts/seed_projects.php --reset
php -S localhost:8000 -t public
Open:
http://localhost:8000/
Browser → public/index.php → Request → Dispatcher → Router → Route → Controller → Repository → View → Response
core/ framework classesapp/Controllers/ application controllersapp/Repositories/ data access classesapp/Views/ PHP templatesroutes/web.php route definitionsdatabase/migrations/ migrationsdatabase/seed_projects.php sample data loaderscripts/ runnable PHP CLI scriptsThe default database is SQLite and points to:
database/app.sqlite
Run migrations from the PHP CLI:
php scripts/migrate.php up
php scripts/migrate.php down
php scripts/migrate.php status
php scripts/migrate.php make create_project_management_tables
php scripts/migrate.php fresh
php scripts/migrate.php fresh --seed
php scripts/seed_projects.php 6
Powered by TurnKey Linux.