Sublime text autocompletion for Laravel

24,616

Solution 1

There is dev4dev/blade-snippets. You can install it via Package Manager:

enter image description here

After installing you will be able to autocomplete Blade snippets by pressing Tab.

Some examples:

enter image description here

enter image description here

List of all snippets you can find in the project's repo: https://github.com/dev4dev/blade-snippets/tree/master/snippets

Solution 2

First install Sublime Code Intel plugin and then install Laravel Ide Helper.

By default Sublime Code Intel will let you autocomplete the code you write in your project e.g. extra classes, laravel's namespaces, etc but by default it will not autocomplete laravel's facades that's why Laravel Ide Helper comes to the rescure.

Share:
24,616
adarshaU
Author by

adarshaU

coding is my hobby.

Updated on December 19, 2020

Comments

  • adarshaU
    adarshaU over 3 years

    Are there any plugins available to get Laravel auto completion and Laravel Blade template beautification in Sublime Text 3? I have googled it, didn't find the right one for Laravel auto complete and not even one plugin that beautify the Laravel blade template.