Enhanced Laravel Integration for ZSH

Developer Tools

February 22nd, 2022

Enhanced Laravel Integration for ZSH

ZSH Artisan is a plugin for ZSH to help you to run artisan from anywhere in the project tree, with auto-completion, and it can automatically open files created by artisan:

Demo of autocomplete

The auto-completion support works anywhere within the project, meaning you can navigate to a subdirectory and still get tab/autocomplete support. You also don't need to prefix artisan commands with php or ./.

Autocomplete in a subdirectory

Lastly, if you configure an editor (see the readme for details), the artisan plugin will open all created files in your configured editor of choice automatically.

You can learn more about this plugin, get full installation instructions, and view the source code on GitHub.

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.