121 words, 1 min read
If you are a user of zsh and you want to make it easier to use artisan commands, then just install the zsh-artisan plugin.
This plugin adds an artisan shell command with the following features:
- It will find and execute
artisanfrom anywhere within the project file tree (and you don't need to prefix it withphpor./) - It provides auto-completion for
artisancommands (that also work anywhere within the project). - You can specify an editor to automatically open new files created by
artisan make:*commands - It automatically runs
artisancommands usingsailwhen appropriate. - It will run commands using
docker compose(ordocker-compose) if a known container name is found.
!zsh-artisan in action
Installation instructions can be found here.
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.