Download the PHP package shrink/conductor-laravel without Composer
On this page you can find all versions of the php package shrink/conductor-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shrink/conductor-laravel
More information about shrink/conductor-laravel
Files in shrink/conductor-laravel
Package conductor-laravel
Short Description Laravel runtime dependency checks for Conductor
License MIT
Informations about the package conductor-laravel
Conductor: Laravel
Conductor checks the status of runtime dependencies, Conductor: Laravel is a set of Laravel runtime dependency checks.
Scenario: I have a containerised Laravel application, I want to deploy a new version which includes database migrations. How do I prevent the new version from running against a database that has yet to be migrated?
Usage
- Install the library with composer
- Enable Conductor with the optional Service Provider
- Define your application's runtime dependencies
↓ Jump to Dependencies available for Laravel
Install
Enable
An optional out-of-the-box Service Provider registers the necessary instances (with sane default configuration) in the Laravel container.
Define Dependencies
Add a Dependency to the Collection with a string id
and an instance of a
Shrink\Conductor\ChecksDependencyStatus
. For example, to register a Database
Schema dependency identified by schema
:
Supported Dependency Checks
Database Schema
Database Schema checks that the connected database is running a compatible version of the database schema. A database schema is compatible when every migration (on the filesystem) has been applied to the database.
Depends on a lcobucci/clock
implementation.
Development
Hooks
A pre-commit Git Hook is included for ensuring compliance with code requirements on commit, enable the Git Hook by running the following command:
License
Conductor: Laravel is open-sourced software licensed under the MIT license.
All versions of conductor-laravel with dependencies
illuminate/database Version ^9.0
illuminate/support Version ^9.0
shrink/conductor Version ^1.0
illuminate/http Version ^9.0
illuminate/routing Version ^9.0