Laravel for Zed is a community LSP extension for the Zed editor that brings deep Laravel awareness through static analysis of PHP and Blade files using tree-sitter. Key features include go-to-definition for views, routes, config keys, translations, env values, middleware, and container bindings; hover cards; find references; and atomic rename across the entire project. Autocomplete covers model properties, query-chain methods, Blade variables, and Laravel Pennant flags. Schema-aware diagnostics optionally connect to your real database (MySQL, PostgreSQL, SQLite, SQL Server) to catch typos in column and relation names. Blade editing gains directive completion, smart bracket expansion, and outline panel integration. The extension indexes all PHP and Blade files at startup with on-disk caching for fast restarts, and is installable directly from the Zed extensions marketplace or built from source via Cargo.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# Go-to-Definition Across Laravel Conventions# Hover, Find References, and Rename# Autocomplete and Schema-Aware Diagnostics# Blade Editing and the Outline Panel# Indexing and Caching# Installation
50.4K Impressions