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 162
  • Win 38
  • Mac 78
  • Linux 46
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 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12
Windows 0 1 0 0 2 1 2 1 2 1 1 1 5 1 1 3 0 0 1 2 4 1 1 3 4 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 3 1 2 0 2 5 2 4 0 0 3 2 1 1 4 1 2 6 2 6 5 10 8 5 9 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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.