tina4stack/tina4php-core

Tina4 PHP Core Functionality

Maintainers

Package info

github.com/tina4stack/tina4php-core

pkg:composer/tina4stack/tina4php-core

Statistics

Installs: 5 506

Dependents: 3

Suggesters: 0

Stars: 1

Open Issues: 0

v2.0.22 2026-03-14 18:23 UTC

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

Code Infinity

Supporting open source communities • Innovate • Code • Empower