tina4stack / tina4php-core
Tina4 PHP Core Functionality
v2.0.22
2026-03-14 18:23 UTC
Requires
- php: >=8.1
Requires (Dev)
- overtrue/phplint: ^2.0
- phpmetrics/phpmetrics: ^2.8
- phpunit/phpunit: ^9
- tina4stack/tina4php-database: ^2.0
- tina4stack/tina4php-debug: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Core functionality for the Tina4 PHP framework, providing annotations, caching, data access, module management, testing, and utility helpers.
Installation
composer require tina4stack/tina4php-core
Requirements
- PHP >= 8.1
Usage
Registering a Module
use Tina4\Module; Module::addModule("MyModule", "1.0.0", "MyNamespace");
Using the Cache
use Tina4\Cache; $cache = new Cache(); $cache->set("user_123", ["name" => "Alice"], 300); $value = $cache->get("user_123");
Retrieving Annotations
use Tina4\Annotation; $annotation = new Annotation(); $routes = $annotation->get("api");
Testing
composer test
License
MIT - see LICENSE
Our Sponsors
Sponsored with 🩵 by Code Infinity
Supporting open source communities • Innovate • Code • Empower