Laravel Packages

Neovim Plugin to for Navigating Laravel and Livewire Components

Published
Neovim Plugin to for Navigating Laravel and Livewire Components image

LALI Components is a Neovim plugin for autocompletion of Laravel and Livewire components by community member Ricardo Ramirez. It offers component navigation using gf, prompting you to choose the component when more than one exists, as well as autocompletion using nvim-cmp:

1. Navigating to Components with gf

Using the gf command on certain component names in your code will open the corresponding component file. This feature works with the following patterns:

  • <x-name>
  • @extends('name')
  • @include('name')
  • <livewire:name>
  • @livewire('name')

2. Autocompletion with nvim-cmp

When using the Neovim completion plugin (nvim-cmp), suggestions for relevant components will appear as you type the following prefixes:

  • <x-
  • @extends
  • @include
  • <live
  • @livewire

You can learn more about this plugin, get full installation instructions, and view the source code on GitHub. If you are new to Neovim, learn how to master using Neovim as a PHP and JavaScript IDE.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article