選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Daniel Covington 5046c2af11 init 3日前
..
README.md init 3日前

README.md

MindVisionCode PHP

A small PHP MVC framework inspired by a Classic ASP MVC framework.

Run

composer install
php migrate.php up
php -S localhost:8000 -t public

Open:

http://localhost:8000

Try:

http://localhost:8000/users/123

Employee form:

http://localhost:8000/employees

Request Flow

Browser → public/index.php → Request → Dispatcher → Router → Route → Controller → ViewModel/Repository → View → Response

Main Folders

  • core/ framework classes
  • app/Controllers/ application controllers
  • app/ViewModels/ view model classes
  • app/Repositories/ data access classes
  • app/Views/ PHP templates
  • routes/web.php route definitions
  • database/migrations/ migrations

SQLite

The default database is SQLite and points to:

database/app.sqlite

The database file is created automatically when the app first needs it.

Run migrations from the PHP CLI:

php migrate.php up
php migrate.php down
php migrate.php status
php migrate.php make create_projects_table
php migrate.php fresh
php migrate.php fresh --seed

Frontend Libraries

The employee directory page uses:

  • htmx for fragment-based form and summary updates
  • Alpine.js for lightweight page state
  • Tabulator for the interactive employee table

Powered by TurnKey Linux.