PHPackages                             tina4stack/tina4php-core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tina4stack/tina4php-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tina4stack/tina4php-core
========================

Tina4 PHP Core Functionality

v2.0.22(3mo ago)17.4k↓37.8%23MITPHPPHP &gt;=8.1CI passing

Since Jul 3Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/tina4stack/tina4php-core)[ Packagist](https://packagist.org/packages/tina4stack/tina4php-core)[ RSS](/packages/tina4stack-tina4php-core/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (9)Versions (25)Used By (3)

tina4php-core
=============

[](#tina4php-core)

Core functionality for the Tina4 PHP framework, providing annotations, caching, data access, module management, testing, and utility helpers.

Installation
------------

[](#installation)

```
composer require tina4stack/tina4php-core
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1

Usage
-----

[](#usage)

### Registering a Module

[](#registering-a-module)

```
use Tina4\Module;

Module::addModule("MyModule", "1.0.0", "MyNamespace");
```

### Using the Cache

[](#using-the-cache)

```
use Tina4\Cache;

$cache = new Cache();
$cache->set("user_123", ["name" => "Alice"], 300);
$value = $cache->get("user_123");
```

### Retrieving Annotations

[](#retrieving-annotations)

```
use Tina4\Annotation;

$annotation = new Annotation();
$routes = $annotation->get("api");
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

MIT - see [LICENSE](LICENSE)

---

Our Sponsors
------------

[](#our-sponsors)

**Sponsored with 🩵 by Code Infinity**

[![Code Infinity](https://camo.githubusercontent.com/1516fb1662e3486bce77822177a5ea199edc32ea109369812592ec9bca38159a/68747470733a2f2f636f6465696e66696e6974792e636f2e7a612f77702d636f6e74656e742f75706c6f6164732f323032352f30392f6338652d6c6f676f2d6769746875622e706e67)](https://codeinfinity.co.za/about-open-source-policy?utm_source=github&utm_medium=website&utm_campaign=opensource_campaign&utm_id=opensource)

*Supporting open source communities • Innovate • Code • Empower*

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance79

Regular maintenance activity

Popularity26

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Recently: every ~24 days

Total

23

Last Release

111d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/82961293?v=4)[Tina4](/maintainers/tina4stack)[@tina4stack](https://github.com/tina4stack)

---

Top Contributors

[![andrevanzuydam](https://avatars.githubusercontent.com/u/6102941?v=4)](https://github.com/andrevanzuydam "andrevanzuydam (30 commits)")[![CrisHigham](https://avatars.githubusercontent.com/u/62340127?v=4)](https://github.com/CrisHigham "CrisHigham (2 commits)")[![tina4stack](https://avatars.githubusercontent.com/u/82961293?v=4)](https://github.com/tina4stack "tina4stack (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tina4stack-tina4php-core/health.svg)

```
[![Health](https://phpackages.com/badges/tina4stack-tina4php-core/health.svg)](https://phpackages.com/packages/tina4stack-tina4php-core)
```

###  Alternatives

[kornrunner/ethereum-address

Pure PHP Ethereum Address Generator / Validator

42120.7k10](/packages/kornrunner-ethereum-address)[jawira/plantuml

Provides PlantUML executable and plantuml.jar

21395.9k10](/packages/jawira-plantuml)[attestto/solana-php-sdk

Solana PHP SDK for interacting with the Solana blockchain

5638.7k](/packages/attestto-solana-php-sdk)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

19267.9k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
