🍕Laravel Console Helpers

tons of helper you need for you artisan command line application

Installation

composer require tomatophp/console-helpers

Usage

we have Traits that you can use in your artisan command class

Run PHP Command

you can run direct php command like this

Run Yarn Command

you can run direct yarn commands like this

NOTE

you can update the yarn path from the config file.

Run Artisan Command

you can direct run the artisan command by using this method

Handle Stubs File Template

you can handle stubs file templates and copy change or add new data by using this method

Handel Modules Actions

this command is working with laravel-modules you can activate all modules or stop all modules or actively selected modules by this method

this method takes 2 parameters first is the module name and the second is the active/stop bool by default is true

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

Last updated

Was this helpful?