Skip to content

Interacting with Artisan

Noah Frederick edited this page Sep 28, 2020 · 3 revisions

The :Artisan command makes it easy to interact with Laravel's artisan from Vim's command line with smart completion of subcommands and flags. Note that :Artisan doesn't care about your current working directory, only about whether the current buffer's file belongs to a Laravel project.

Laravel's generators (e.g., artisan make:controller) have special integration with :Artisan, which will automatically load the generated file into a buffer.

Clone this wiki locally