Download the PHP package montross50/artisan-commands-helper without Composer
On this page you can find all versions of the php package montross50/artisan-commands-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download montross50/artisan-commands-helper
More information about montross50/artisan-commands-helper
Files in montross50/artisan-commands-helper
Package artisan-commands-helper
Short Description Laravel artisan commands helper. Provides shortcuts to basic docker-centric commands needed during development.
License MIT
Homepage https://github.com/montross50/artisan-commands-helper
Informations about the package artisan-commands-helper
Laravel Artisan Commands Helper.
This package will add some helpful commands to artisan. These commands are primarily used in development to reduce typing and increase productivity.
Installation
composer require montross50/artisan-commands-helper
Available Commands
Environment configuration
There are several environment variables you can add to your .env that will allow you to customize the commands. This is designed to work out of the box for a standard laravel install with docker and laradock or similiar. Below are the env vars and their defaults.
- ACH_DOCKER_PATH = docker
- Path to docker executable
- ACH_DOCKER_COMPOSE_PATH = docker-compose
- Path to docker-compose executable
- ACH_COMPOSER_PATH = composer
- Path to composer executable
- ACH_NAMESPACE = ach
- Namespace that commands resolve at via artisan ie ach:up. Just in case you have something on that namespace
- ACH_PHP_CONTAINER = workspace
- Container to run php commands in
- ACH_IDE_HELPER_MODELS_OPTIONS = -n
- Options for ide-helper:models. These options have special chars in them often so artisan won't play nice
Alternatively you can publish the config file.
php artisan vendor:publish --provider="Montross50\ArtisanCommandsHelper\ArtisanCommandsHelperServiceProvider" --tag=config
Change log
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Trent Schmidt
License
The MIT License (MIT). Please see License File for more information.