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 294
  • Win 80
  • Mac 124
  • Linux 90
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 Sep 16 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
Windows 0 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 0 1 1 0 2 1 0 1 1 2 1 0 0 0 1 1 1 1 1 1
Mac 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 0 1 0 0 2 1 0 3 1 0 0 0 0 1 1 0 0 1 2 1
Linux 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 1 1 0 1 0 0 0 0 0 1 0 0 0 0 2 2 0 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.