Official Laravel Zed Extension: PHP &amp; Blade LSP | Mohamed Said        [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://www.msaied.com) [ Home ](https://www.msaied.com) [ Projects ](https://www.msaied.com/projects) [ Articles  ](https://www.msaied.com/articles) [ Certificates ](https://www.msaied.com/certificates) [ Contact ](https://www.msaied.com#contact-section) 

       [  ](https://github.com/EG-Mohamed)       

 [ Home ](https://www.msaied.com) [ Projects ](https://www.msaied.com/projects) [ Articles ](https://www.msaied.com/articles) [ Certificates ](https://www.msaied.com/certificates) [ Contact ](https://www.msaied.com#contact-section) 

  [ home ](https://www.msaied.com)    [ articles ](https://www.msaied.com/articles)    Official Laravel Zed Extension: LSP Support for PHP and Blade Files        On this page       1. [  Official Laravel Zed Extension Brings First-Party LSP Support ](#official-laravel-zed-extension-brings-first-party-lsp-support)
2. [  How to Install ](#how-to-install)
3. [  Configuration ](#configuration)
4. [  Official vs. Community Extension ](#official-vs-community-extension)
5. [  Editor Support Landscape ](#editor-support-landscape)
6. [  Key Takeaways ](#key-takeaways)

  ![Official Laravel Zed Extension: LSP Support for PHP and Blade Files](https://cdn.msaied.com/511/9a507c942d0051cc70a4c6769b27f734.png)

 [  Laravel ](https://www.msaied.com/articles?category=laravel) [  PHP ](https://www.msaied.com/articles?category=php)  #Laravel   #Zed   #LSP   #PHP   #Blade   #Developer Tools  

 Official Laravel Zed Extension: LSP Support for PHP and Blade Files 
=====================================================================

     4 Aug 2026      3 min read    ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said  

       Table of contents

1. [  01   Official Laravel Zed Extension Brings First-Party LSP Support  ](#official-laravel-zed-extension-brings-first-party-lsp-support)
2. [  02   How to Install  ](#how-to-install)
3. [  03   Configuration  ](#configuration)
4. [  04   Official vs. Community Extension  ](#official-vs-community-extension)
5. [  05   Editor Support Landscape  ](#editor-support-landscape)
6. [  06   Key Takeaways  ](#key-takeaways)

 Official Laravel Zed Extension Brings First-Party LSP Support
-------------------------------------------------------------

The Laravel team published an official extension for the [Zed editor](https://zed.dev/extensions/laravel-official) on July 30, 2026. Version 0.1.0 landed in Zed's extension registry and connects **Laravel LSP** — the first-party language server announced at Laracon US 2026 — directly to the editor.

Once installed, you get the following LSP features in your PHP and Blade files:

- **Completions** for config keys, route names, view paths, translation strings, middleware, container bindings, Livewire components, and Inertia pages
- **Hover information** on Laravel-specific symbols
- **Diagnostics** that flag references to config keys, routes, or views that don't exist
- **Document links** and **code actions**

How to Install
--------------

Installation is straightforward. Open Zed's command palette and run `zed: extensions`, search for **Laravel (Official)**, and click **Install**. You do not need to install `laravel/lsp` separately — the extension downloads the language server binary automatically and checks for updates at most once every two hours.

Configuration
-------------

No configuration is required out of the box. If you need to pass initialization options to the server, add them under `lsp.laravel.initialization_options` in your Zed settings file:

```json
{
  "lsp": {
    "laravel": {
      "initialization_options": {
        "phpEnvironment": "sail"
      }
    }
  }
}

```

The `phpEnvironment` option tells the language server which PHP command to use when indexing your project. It defaults to `auto`, which probes Herd, Valet, Sail, Lando, DDEV, and then a locally installed PHP binary in that order. Every individual LSP feature can also be toggled through the same `initialization_options` object; the full reference is available in the [Laravel LSP GitHub repository](https://github.com/laravel/lsp).

Official vs. Community Extension
--------------------------------

This is not the only Laravel extension available for Zed. Mike Bronner's community Laravel extension remains actively developed and takes a fundamentally different approach:

| | Official (Laravel LSP) | Community | |---|---|---| | **How it works** | Runs PHP scripts inside your project to query the framework directly | Parses files with tree-sitter; never executes your application | | **Requires PHP env** | Yes (`phpEnvironment` option) | No | | **Framework awareness** | Deep (routes, views, config, bindings, etc.) | Static analysis only |

The community extension's README recommends against running both extensions simultaneously, so choose the one that best fits your workflow.

Editor Support Landscape
------------------------

With this release, Zed joins **Sublime Text**, **Cursor**, and the **Laravel VS Code extension** as editors with official Laravel LSP support. Neovim and OpenCode users can also point at the same language server binary with a few lines of configuration.

Key Takeaways
-------------

- The official Laravel Zed extension (v0.1.0) was released on July 30, 2026.
- It bundles and auto-updates the Laravel LSP binary — no separate install needed.
- Provides completions, hover info, diagnostics, document links, and code actions for PHP and Blade.
- The `phpEnvironment` setting controls which PHP runtime the server uses for project indexing.
- Avoid running it alongside the community Zed extension at the same time.
- The extension is MIT licensed; source is on [laravel/zed-extension](https://github.com/laravel/zed-extension).

---

*Source: [Official Laravel Zed Extension: LSP for PHP &amp; Blade — Laravel News](https://laravel-news.com/laravel-zed-extension)*

 Found this useful?

          [  ](https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.msaied.com%2Farticles%2Fofficial-laravel-zed-extension-lsp-support-for-php-and-blade-files&text=Official+Laravel+Zed+Extension%3A+LSP+Support+for+PHP+and+Blade+Files) [  ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.msaied.com%2Farticles%2Fofficial-laravel-zed-extension-lsp-support-for-php-and-blade-files) 

 Frequently Asked Questions 
----------------------------

  3 questions  

     Q01  Do I need to install laravel/lsp separately to use the official Laravel Zed extension?        No. The extension downloads the Laravel LSP binary automatically and checks for updates at most once every two hours, so no manual installation of the language server is required. 

      Q02  Can I run the official Laravel Zed extension alongside the community Laravel extension for Zed?        The community extension's README recommends against running both at the same time, as they take different approaches to providing Laravel intelligence. Pick the one that suits your workflow. 

      Q03  What does the phpEnvironment option do in the Laravel Zed extension settings?        It tells the language server which PHP runtime to use when indexing your project. The default value is 'auto', which tries Herd, Valet, Sail, Lando, DDEV, and then a local PHP binary in that order. You can set it explicitly to a value like 'sail' if needed. 

  Continue reading

 More Articles 
---------------

 [ View all    ](https://www.msaied.com/articles) 

 [ ![Livewire v4.4.6 Released: Bug Fixes, Test Improvements, and Alpine v3.17.4](https://cdn.msaied.com/689/454c52282f3ef5d585905e5952ca969c.png) Livewire Laravel Alpine.js 

### Livewire v4.4.6 Released: Bug Fixes, Test Improvements, and Alpine v3.17.4

Livewire v4.4.6 ships with 18 changes including validation performance improvements, better test assertions, k...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 21 Sep 2026     3 min read  

  Read    

 ](https://www.msaied.com/articles/livewire-v446-released-bug-fixes-test-improvements-and-alpine-v3174) [ ![Laravel 14: New Features, Breaking Changes, and PHP 8.4 Requirement](https://cdn.msaied.com/688/2dfe8f11b0bef35c0ee6db912004209f.png) Laravel 14 PHP 8.4 Breaking Changes 

### Laravel 14: New Features, Breaking Changes, and PHP 8.4 Requirement

Laravel 14 is expected in Q1 2027 and will require PHP 8.4. Here is everything known so far from the master br...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 21 Sep 2026     4 min read  

  Read    

 ](https://www.msaied.com/articles/laravel-14-new-features-breaking-changes-and-php-84-requirement) [ ![Building a Laravel Package: Service Providers, Auto-Discovery, and Config Merging](https://cdn.msaied.com/687/e53f819c8f897c1ad12a1df0661a18f7.png) laravel packages service-providers 

### Building a Laravel Package: Service Providers, Auto-Discovery, and Config Merging

Learn how to build a production-ready Laravel package from scratch — covering service provider design, auto-di...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 21 Sep 2026     1 min read  

  Read    

 ](https://www.msaied.com/articles/building-a-laravel-package-service-providers-auto-discovery-and-config-merging-4) 

   [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://www.msaied.com)Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

Explore

- [Home](https://www.msaied.com)
- [Projects](https://www.msaied.com/projects)
- [Articles](https://www.msaied.com/articles)
- [Certificates](https://www.msaied.com/certificates)
- [Contact](https://www.msaied.com#contact-section)

Connect

- [   hello@msaied.com ](mailto:hello@msaied.com)
- [   +20 109 461 9204 ](tel:+201094619204)

© 2026 Mohamed Said. All rights reserved.

 [  ](https://github.com/EG-Mohamed) [  ](https://www.linkedin.com/in/msaiedm/) [  ](https://wa.me/201094619204) [  ](mailto:hello@msaied.com) [  ](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
