PHPackages                             yokuru/laravel-schema-cache - 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. [Database &amp; ORM](/categories/database)
4. /
5. yokuru/laravel-schema-cache

ActiveLibrary[Database &amp; ORM](/categories/database)

yokuru/laravel-schema-cache
===========================

A database schema loading and caching library for Laravel.

1.1.0(7y ago)26141[1 issues](https://github.com/yokuru/laravel-schema-cache/issues)MITPHPPHP ^7.1

Since Apr 21Pushed 7y agoCompare

[ Source](https://github.com/yokuru/laravel-schema-cache)[ Packagist](https://packagist.org/packages/yokuru/laravel-schema-cache)[ RSS](/packages/yokuru-laravel-schema-cache/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (9)Versions (4)Used By (0)

Laravel Schema Cache
====================

[](#laravel-schema-cache)

[![Build Status](https://camo.githubusercontent.com/a2cf11d096a0df1b440c62eceb0ff407f3cf51fceb30b8a805808f48ca343627/68747470733a2f2f7472617669732d63692e6f72672f796f6b7572752f6c61726176656c2d736368656d612d63616368652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yokuru/laravel-schema-cache)[![Coverage Status](https://camo.githubusercontent.com/b454d1e66562b60e964f4961f75f8d87a4535471e21f519ec4f12618f4b8508a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f796f6b7572752f6c61726176656c2d736368656d612d63616368652f62616467652e7376673f6272616e63683d66656174757265253246636f766572616765)](https://coveralls.io/github/yokuru/laravel-schema-cache?branch=feature%2Fcoverage)[![MIT License](https://camo.githubusercontent.com/db79b92834d905629b1aea42c9aa493da02060189e2af90840b1be5d6bf6ddf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](LICENSE)

A database schema loading and caching library for [Laravel](https://laravel.com/).

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

[](#installation)

With [Composer](https://getcomposer.org/):

```
composer require yokuru/laravel-schema-cache

```

Usage
-----

[](#usage)

You can now get schema information using Facade.
It it wrapper of [Doctrine DBAL](https://www.doctrine-project.org/projects/dbal.html) schema manager.

```
SchemaCache::getTable('table_name');

```

Commands
--------

[](#commands)

When deploying your application to production, I recommend caching schema.

Cache schema:

```
php artisan schema:cache

```

Clear cache:

```
php artisan schema:clear

```

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~3 days

Total

2

Last Release

2620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45123e241bd3dc40d728c70fe2af51e18abc99244c2333ed5b04dd9b074fe40f?d=identicon)[yokuru](/maintainers/yokuru)

---

Top Contributors

[![yokuru](https://avatars.githubusercontent.com/u/26265585?v=4)](https://github.com/yokuru "yokuru (15 commits)")

---

Tags

laravelschemadatabasedoctrinecache

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yokuru-laravel-schema-cache/health.svg)

```
[![Health](https://phpackages.com/badges/yokuru-laravel-schema-cache/health.svg)](https://phpackages.com/packages/yokuru-laravel-schema-cache)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

9782.1M162](/packages/laravel-ai)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8385.5M96](/packages/laravel-doctrine-orm)[itpathsolutions/dbstan

Database Standardization and Analysis Tool for Laravel

442.1k](/packages/itpathsolutions-dbstan)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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