A Laravel Connection implementation that allows you to persist the Schema Builder instance.
kfriars/connection-shim is a Laravel package for a laravel connection implementation that allows you to persist the schema builder instance..
It currently has 0 GitHub stars and 43 downloads on Packagist (latest version v11.0.0).
Install it with composer require kfriars/connection-shim.
Discover more Laravel packages by kfriars
or browse all Laravel packages to compare alternatives.
Last updated
This package is a set of Laravel Connection implementations that allow you to persist the Schema Builder on the Connection instance.
The Laravel Framework has hard-coded the schema builder into the connections, so if you want to customize the schema builder you would need to override the connection classes.
I have started a discussion on the laravel/framework repository, to see if this behavior can be changed.
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
You can install the package via composer:
composer require kfriars/connection-shim
After installing the package, you will not need to do anything else. All first-party database drivers will allow you to call the setSchemaBuilder method on them. This ensures the connection will be using a consistent schema throughout execution.
The MIT License (MIT). Please see License File for more information.