yokuru/laravel-schema-cache

A database schema loading and caching library for Laravel.

Installs: 582

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 1

Open Issues: 1

pkg:composer/yokuru/laravel-schema-cache

1.1.0 2019-04-24 09:40 UTC

This package is auto-updated.

Last update: 2025-11-25 00:50:33 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