rocketeers/rocketeer-laravel

Laravel integration for Rocketeer

dev-master / 1.0.x-dev 2017-03-03 14:35 UTC

This package is auto-updated.

Last update: 2024-12-08 01:09:08 UTC


README

Installation

$ rocketeer plugin:install rocketeers/rocketeer-laravel

Then add this to the plugins.loaded array in your configuration:

<?php
'loaded' => [
    'Rocketeer\Plugins\Laravel\Laravel',
],

Usage

The plugin adds the Artisan binary accessible from any task or strategy:

$this->artisan()->runForCurrentRelease('cache:clear');

It also adds two strategies:

  • Check:Laravel: extends the PHP check strategy but adds a few checks related to your application
  • Migrate:Artisan: uses Artisan to migrate your database