PHPackages                             tattran22/repository - 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. [Caching](/categories/caching)
4. /
5. tattran22/repository

ActiveLibrary[Caching](/categories/caching)

tattran22/repository
====================

The TatTran Repository is a Laravel package designed to supercharge your app's speed by caching database queries and model operations. This means your app can retrieve data instantly, leading to a smoother user experience.

2.0.6(2y ago)07PHPPHP ^8.0

Since May 26Pushed 2y agoCompare

[ Source](https://github.com/TatTran22/repository)[ Packagist](https://packagist.org/packages/tattran22/repository)[ RSS](/packages/tattran22-repository/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (7)Used By (0)

**Boost Laravel Performance with TatTran Repository**

**What is it?**

The TatTran Repository is a Laravel package designed to **supercharge your app's speed** by **caching database queries and model operations**. This means your app can retrieve data **instantly**, leading to a **smoother user experience**.

**Key Features:**

- **Effortless Caching:** Cache any database query or model operation with ease.
- **Flexible Configuration:** Fine-tune cache times and define tags for granular control.
- **Automatic Tagging:** Tag each request with the `TagForRequestMiddleware` for more precise management.
- **Clear Cache with Ease:** Utilize the `query:cache-flush` command to clear all cached queries.
- **Automatic Cache Invalidation:** The `FlushCacheObserver` automatically flushes cache entries when models are created, updated, or deleted.
- **Simplified Cache Management:** Leverage the `ModelCacheTrait` for generating cache keys and managing cache times for your models.
- **Open Source:** Contribute to the package's growth and benefit from the community.

**Ready to Get Started?**

Installation is a breeze:

1. `composer require tattran22/repository`
2. `php artisan vendor:publish --provider="TatTran\Repository\RepositoryServiceProvider"`
3. Configure settings in `config/repository.php`

**Documentation and Support:**

For detailed usage instructions, configuration options, and contribution guidelines, head over to the project's GitHub repository: [TatTran Repository](https://github.com/TatTran22/repository).

**License:**

This package is free to use under the MIT license and developed by [Tat Tran](https://tattran.com)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~207 days

Recently: every ~0 days

Total

6

Last Release

826d ago

Major Versions

v1.0 → 2.0.02024-03-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/8695ae124e531a243247b1e55dd068ed4d80d16f0a0961e7b3986a4468550248?d=identicon)[tattran.dev](/maintainers/tattran.dev)

---

Top Contributors

[![TatTran22](https://avatars.githubusercontent.com/u/29831741?v=4)](https://github.com/TatTran22 "TatTran22 (10 commits)")[![lekhang2512](https://avatars.githubusercontent.com/u/21123866?v=4)](https://github.com/lekhang2512 "lekhang2512 (2 commits)")

### Embed Badge

![Health badge](/badges/tattran22-repository/health.svg)

```
[![Health](https://phpackages.com/badges/tattran22-repository/health.svg)](https://phpackages.com/packages/tattran22-repository)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)

PHPackages © 2026

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