Rename the top-level lib/ directory to core/ so the project root immediately communicates which code is core platform and which lives in modules/. PHP namespaces (MintyPHP\*) are unchanged — only the Composer PSR-4 path mapping moves from lib/ to core/. Module-internal lib/ directories (modules/*/lib/) are untouched. Updated across the full stack: - composer.json PSR-4 mapping - bootstrap entry points (web/index.php, bin/*, tests/bootstrap.php) - tooling configs (phpstan.neon, phpunit.xml, php-cs-fixer) - 26 architecture contract tests - enforcement-policy, guard-catalog, quality-gates - all documentation (CLAUDE.md, README, 25 docs/, .agents/skills/) - bin/qa-extended.sh search paths - .claude/settings.local.json permission paths Workflow: .agents/runs/CORE-LIB-RENAME-001/ (Analyst → Planner → Executor → Code Review (4 findings fixed) → Security Review → Acceptance Test → Finalizer) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"name": "mintyphp/mintyphp",
|
|
"description": "A refreshingly different PHP web framework that is easy to learn",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Maurits van der Schee",
|
|
"email": "maurits@vdschee.nl",
|
|
"homepage": "https://www.tqdev.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.5",
|
|
"mintyphp/core": "*",
|
|
"phpmailer/phpmailer": "^7.0",
|
|
"dompdf/dompdf": "^3.1",
|
|
"endroid/qr-code": "^6.0",
|
|
"league/commonmark": "^2.8",
|
|
"opis/json-schema": "^2.6"
|
|
},
|
|
"require-dev": {
|
|
"mintyphp/tools": "*",
|
|
"mintyphp/debugger": "*",
|
|
"phpunit/phpunit": "*",
|
|
"phpstan/phpstan": "^1.9",
|
|
"icanhazstring/composer-unused": "^0.9.6",
|
|
"friendsofphp/php-cs-fixer": "^3.66"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"MintyPHP\\Tests\\": "tests/",
|
|
"MintyPHP\\Tests\\Module\\Audit\\": "modules/audit/tests/Module/Audit/",
|
|
"MintyPHP\\Tests\\Module\\Helpdesk\\": "modules/helpdesk/tests/Module/Helpdesk/"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"MintyPHP\\": "core/",
|
|
"MintyPHP\\Module\\Audit\\": "modules/audit/lib/Module/Audit/",
|
|
"MintyPHP\\Module\\Helpdesk\\": "modules/helpdesk/lib/Module/Helpdesk/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"cs:check": "php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --diff --verbose",
|
|
"cs:fix": "php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --verbose"
|
|
}
|
|
}
|