Skip to content

Update .env#5

Open
developersharif wants to merge 2 commits intomainfrom
claude/modernize-php-framework-W0fAh
Open

Update .env#5
developersharif wants to merge 2 commits intomainfrom
claude/modernize-php-framework-W0fAh

Conversation

@developersharif
Copy link
Collaborator

No description provided.

developersharif and others added 2 commits July 17, 2025 13:40
- Router: registry+dispatch pattern, named routes, groups, method
  spoofing, redirect/view helpers, proper 404 handling
- HTTP: new Request (immutable, validation, headers, bearer token)
  and Response (json, redirect, abort, download, security headers) classes
- Exceptions: HttpException hierarchy (404/403/422) for clean error flow
- Database: singleton pattern, readonly properties, clean DSN building,
  exceptions propagate to global handler (no exit() in drivers)
- Controller: abstract base with json/redirect/abort/request helpers
- global.php: strict types, hash_equals CSRF, config caching, new
  helpers (redirect, abort, json_response, url, e, flash, old, asset
  now returns string)
- bootstrap.php: structured prod error handler with file logging,
  security headers, proper session guard, timezone validation
- CLI: make:controller + make:middleware scaffolding, port validation,
  passthru instead of system
- composer.json: php>=8.2 constraint, clean autoload, sorted packages
- Views: modernized welcome/404/500 pages
- Docs: routing, controllers, database, middleware, helpers, cli,
  configuration, request-response guides + full README rewrite

https://claude.ai/code/session_01K6298JMbeVUHHhS42n45Fm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants