imi/robo-laravel

Laravel Tasks for Robo task runner
126
Install
composer require imi/robo-laravel
Latest Version:1.2.0
License:MIT
Last Updated:Dec 1, 2020
Links: GitHub  ·  Packagist
Maintainer: imi

Robo Wrapper for Laravel

This is (currentl very thin) wrapper around laravel projects for using it in the Robo task runner.

Commands

Execute artisan

$this->taskArtisanStack()->exec($command)->run();

Shortcut for the above:

$this->_artisan($command);

Flush Caches

Adds only to the stack, so you can run additional commands

$this->taskArtisanStack()->addCacheFlush()->run();

Shortcut for the above:

$this->_artisanCacheFlush($command);

Write .env File

Writes the env file with the values from the setup. Of course you can add additional mappings as a secound parameter.

Currently RegExp replacing is done. Sooner or later we might use https://github.com/nordcode/robo-parameters for this task (which does not keep comments, that's why we use the own method)

$this->_writeEnvFile($this->askSetup());

Update IDE Helper

Needs https://github.com/barryvdh/laravel-ide-helper

$this->taskArtisanStack()->addUpdateIdeHelper()->run();

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440