yokuru/laravel-schema-cache

A database schema loading and caching library for Laravel.

Maintainers

Package info

github.com/yokuru/laravel-schema-cache

pkg:composer/yokuru/laravel-schema-cache

Statistics

Installs: 614

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 1

1.1.0 2019-04-24 09:40 UTC

This package is auto-updated.

Last update: 2026-03-25 01:27:38 UTC


README

Build Status Coverage Status MIT License

A database schema loading and caching library for Laravel.

Installation

With Composer:

composer require yokuru/laravel-schema-cache

Usage

You can now get schema information using Facade.
It it wrapper of Doctrine DBAL schema manager.

SchemaCache::getTable('table_name');

Commands

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

Cache schema:

php artisan schema:cache

Clear cache:

php artisan schema:clear

License

MIT