Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The Laravel Zed extension integrates the Laravel LSP server with Zed, providing completions, hover information, diagnostics, links, and code actions for your PHP and Blade files.

LSP Documentation

Documentation for Laravel LSP can be found in the Laravel LSP repository.

Installation

Open the Extensions page from the Zed command palette with zed: extensions, search for Laravel (Official), and select Install.

Configuration

No configuration is required by default.

To pass initialization options directly to the Laravel LSP server, configure lsp.laravel.initialization_options in your Zed settings:

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

For the full list of available configuration options, see the Laravel LSP repository.

Updates

The extension checks for Laravel LSP updates at most once every two hours. On macOS, you can force an update check without waiting by removing the .last-update-check file:

rm "$HOME/Library/Application Support/Zed/extensions/work/laravel-official/laravel-lsp/.last-update-check"

Then run editor: restart language server from the command palette. This forces an update check, not necessarily a download. The extension downloads the latest release only when its binary is not already installed. This update mechanism is bypassed when a custom LSP binary is configured.

Contributing

Thank you for considering contributing to the Laravel Zed extension! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The Laravel Zed extension is open-sourced software licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages