rocketeers/rocketeer-laravel

Laravel integration for Rocketeer
2,090 16
Install
composer require rocketeers/rocketeer-laravel
PHP:>=5.6.0
License:MIT
Last Updated:Mar 3, 2017
Links: GitHub  ·  Packagist
Maintainer: Anahkiasen

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