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

LSP-Laravel

by laravel ST4

Laravel support for Sublime Text, powered by Laravel LSP.

Labels lsp, php, laravel

Details

Installs

  • Total 204
  • Win 55
  • Mac 95
  • Linux 54
Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1
Windows 0 1 0 2 1 0 1 1 2 1 0 0 0 1 1 1 1 1 1 0 0 2 1 0 0 2 1 2 1 2 1 1 1 5 1 1 3 0 0 1 2 4 1 1 3 4
Mac 0 0 0 2 1 0 3 1 0 0 0 0 1 1 0 0 1 2 1 1 2 3 3 1 2 0 2 5 2 4 0 0 3 2 1 1 4 1 2 6 2 6 5 10 8 5
Linux 0 0 1 0 0 0 0 0 1 0 0 0 0 2 2 0 0 1 0 0 1 1 0 1 0 1 2 1 1 3 0 1 2 2 1 2 1 3 1 4 4 4 3 5 0 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.