ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-Laravel

by laravel ST4 Missing

Laravel support for Sublime Text, powered by Laravel LSP.

Labels lsp, php, laravel

Details

Installs

  • Total 343
  • Win 104
  • Mac 135
  • Linux 104
Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17
Windows 0 1 2 2 1 0 1 1 0 1 2 4 2 2 0 0 2 0 3 2 1 1 0 2 2 1 1 0 0 1 1 1 1 1 0 1 1 0 2 1 0 2 2 0 1 2
Mac 0 0 1 0 0 0 0 0 0 5 2 1 3 0 0 4 2 0 2 1 0 0 0 1 0 3 2 0 0 1 2 0 1 3 4 1 3 1 2 2 2 1 0 0 2 3
Linux 1 0 1 1 2 0 0 1 0 1 0 1 0 0 0 1 1 2 0 2 0 0 1 0 0 3 2 0 0 2 1 0 0 5 4 3 3 1 2 2 0 4 6 0 1 0

Readme

Source
raw.​githubusercontent.​com

Introduction

The Laravel Sublime Text extension integrates the Laravel LSP server with Sublime Text, 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

Install the LSP package from Package Control, then search for “LSP-Laravel” and select Install.

For Blade files, also install the Laravel Blade package from Package Control.

Configuration

No configuration is required by default.

To pass initialization options directly to the Laravel LSP server, open Preferences → Package Settings → LSP → Servers → LSP-Laravel and configure initialization_options:

{
  "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. To force an update check without waiting, run LSP-Laravel: Update Laravel LSP Server from the command palette.

Contributing

Thank you for considering contributing to the Laravel Sublime Text 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 Sublime Text extension is open-sourced software licensed under the MIT license.