New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

montross50/artisan-commands-helper

Laravel artisan commands helper. Provides shortcuts to basic docker-centric commands needed during development.
1,184

Larablocks Analysis

montross50/artisan-commands-helper works with Laravel 5 (latest release 1.1.0, Nov 10, 2018), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5, past end of life
  • No release in the last 12 months (last: Nov 10, 2018)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Nov 10, 2018.
  • No releases in the last 12 months.
  • First released: Feb 24, 2018.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require montross50/artisan-commands-helper
Latest Version:1.1.0
PHP:~5.6|~7.0
Laravel:5
License:MIT
Last Updated:Mar 19, 2019
Links: GitHub  ·  Packagist
Maintainer: montross50

Laravel Artisan Commands Helper.

Latest Version on Packagist Software License Build Status Total Downloads

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

  ach:build            Builds the containers with docker compose
  ach:clean            Cleans up the containers with docker compose
  ach:clean-images     Removes dangling images with docker
  ach:dump             Composer dump autoload in the php workspace container
  ach:ide-helper       Runs the ide-helper in the php workspace container
  ach:install          Composer installs in the php workspace container
  ach:migrate          Migrate the database
  ach:rebuild          Spins up the containers with docker compose and rebuild them
  ach:run              Spins up the containers with docker compose (alias for up)
  ach:seed             Seed your database
  ach:stop             Stops the containers with docker compose
  ach:up               Spins up the containers with docker compose
  ach:update           Composer updates in the php workspace container

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 CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email sch43228@gmail.com instead of using the issue tracker.

Credits

  • Trent Schmidt

License

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

Related Packages

jdsantos/laradocker

A Laravel package to seamlessly integrate Docker into your application

1,667 6
laravel/sail

Docker files for running a basic Laravel application.

257,762,606 1,924
spatie/docker

Run a docker container in your PHPUnit tests

164,603 489
mlntn/lumen-artisan-serve

artisan serve for Lumen projects

100,932 49
jamosaur/vali

Docker for running a Laravel application

10,755 3

Version History

Version Released PHP Laravel License
1.1.0 ~5.6|~7.0 ^5.0,<5.8 MIT
1.0.4 ~5.6|~7.0 ^5.0,<5.7 MIT
1.0.3 ~5.6|~7.0 ^5.0,<5.7 MIT
1.0.2 ~5.6|~7.0 ^5.0,<5.7 MIT
1.0.1 ~5.6|~7.0 ^5.0,<5.7 MIT