jnana / framework
Jnana — a lightweight PHP framework (routing, DI, HTTP, middleware, templating, security) framework.
v2.0.2
2026-10-16 13:11 UTC
Requires
- php: ^8.1
- doctrine/dbal: ^3.6
- doctrine/orm: ^3.2
- dompdf/dompdf: ^2.0
- nikic/fast-route: ^1.3
- php-di/php-di: ^7.0
- psr/cache: ^3.0
- psr/container: ^2.0
- psr/log: ^3.0
- psr/simple-cache: ^3.0
- symfony/cache: ^6.4
- symfony/console: ^6.4
- symfony/form: ^6.4
- symfony/http-foundation: ^6.4
- symfony/security-csrf: ^6.4
- symfony/validator: ^6.4
- tracy/tracy: ^2.10
Requires (Dev)
- phpunit/phpunit: ^11.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This documentation is for maintainers of jnana/framework and developers who need to understand or extend its internals.
Documentation map
- Architecture — package boundaries, request lifecycle, and design rules.
- Installation and application paths — Composer installation and
ApplicationPaths. - Routing and middleware — attribute routes, route discovery, and middleware order.
- Configuration and dependency injection —
ConfigManager, definitions, providers, and validators. - HTTP, controllers, and views — request/response conventions and template rendering.
- Database and security — Doctrine integration, auth strategies, guards, CSRF, and security boundaries.
- Maintenance and troubleshooting — safe change process and common failures.
Source of truth
The implementation is the source of truth. This guide describes the code included with this package version. When a public API changes, update the relevant guide and examples in the same pull request.