Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 600 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 600 Bytes

Rocketeer Laravel integration

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