This is the main skill index for AI coding agents working on MindVisionCode PHP.
Read this file after AGENTS.md, then load only the focused skill files needed for the current task.
MindVisionCode PHP is a small PHP MVC framework inspired by a Classic ASP MVC framework style.
The project favors:
Do not turn this into Laravel, Symfony, Slim, CakePHP, or another large framework.
| File | Purpose |
|---|---|
config/database.php |
PDO DSN, credentials, and PDO options |
config/view.php |
Views directory path and layout file path |
Add new config files to config/ — never hardcode environment-specific paths in core/.
project-root/
AGENTS.md
.ai/
SKILLS.md
skills/
php/
SKILL.md
mvc/
SKILL.md
database/
SKILL.md
security/
SKILL.md
testing/
SKILL.md
workflow/
SKILL.md
public/
index.php
src/
Controller/
Service/
Repository/
Entity/
ValueObject/
ViewModel/
Http/
Routing/
Validation/
Database/
Migration/
templates/
config/
tests/
var/
cache/
logs/
vendor/
composer.json
Rules:
public/ is the web root.src/, config/, tests/, vendor/, .ai/, or .env files through the web server.src/.var/ or another ignored runtime directory.Install dependencies:
composer install
Regenerate autoload files:
composer dump-autoload
Run local server:
php -S localhost:8000 -t public
Run basic tests:
php tests/run.php
Run database migrations:
php scripts/migrate.php up
Roll back the last migration:
php scripts/migrate.php down
Check migration status:
php scripts/migrate.php status
Create a new migration file:
php scripts/migrate.php make <name>
Reset and re-run all migrations:
php scripts/migrate.php fresh
php scripts/migrate.php fresh --seed
Browser
→ public/index.php
→ Request
→ Dispatcher
→ Router
→ Route
→ Controller
→ ViewModel/Repository/Service
→ View
→ Response
Read:
./.ai/skills/php/SKILL.md
Use for:
Read:
./.ai/skills/mvc/SKILL.md
Use for:
Read:
./.ai/skills/database/SKILL.md
Use for:
Read:
./.ai/skills/security/SKILL.md
Use for:
Read:
./.ai/skills/testing/SKILL.md
Use for:
Read:
./.ai/skills/workflow/SKILL.md
Use for:
Powered by TurnKey Linux.