tnt-framework / core
Simple, superfast and resource-light PHP framework for older servers, PSR-aware custom router, custom DI container and logger
Requires
- php: >=7.4
- ext-json: *
- ext-pdo: *
- symfony/console: 5.4.47
- tnt-framework/container: 0.1.1
- tnt-framework/logger: 0.1.0
- tnt-framework/router: 0.1.1
This package is auto-updated.
Last update: 2026-06-02 07:45:46 UTC
README
TNT Framework is an ultra-fast and memory-light PHP framework focused on simplicity, performance, and developer experience.
WIP
Features
- ⥠Super-fast route dispatching powered by
tnt-framework/router - ðŠķ Small footprint with minimum dependencies
- ðĶ Custom
tnt-framework/containerfor intelligent dependency injection handling - ð§ Strong typing in
Config.phpfor better IDE hinting and autocomplete - ð Follows PHP PSR standards where possible
- ð Built for performance and clean architecture
PHP Version Support
TNT Framework currently supports PHP 7.4+.
Why PHP 7.4?
Many hosting providers still rely on PHP 7.4 environments for shared hosting customers. TNT Framework is designed to remain accessible and usable even on older hosting infrastructures while still providing modern development patterns and architecture.
A dedicated PHP 8+ branch is planned and will introduce additional modern language features and optimizations.
Philosophy
TNT Framework aims to provide a lightweight foundation for modern PHP applications without unnecessary complexity. It focuses on speed, maintainability, and developer productivity.
Goals
- Keep the framework fast and lightweight
- Reduce memory usage
- Provide clean and predictable APIs
- Maintain minimal external dependencies
- Support modern PHP development practices
License
MIT