Skip to content

yokuru/laravel-schema-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Schema Cache

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

About

A database schema loading and caching library for Laravel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages