PHPackages                             haringsrob/laravel-dev-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. haringsrob/laravel-dev-tools

AbandonedArchivedProject[CLI &amp; Console](/categories/cli)

haringsrob/laravel-dev-tools
============================

Laravel dev tools contains of multiple tools to ease Laravel development: Blade lsp

1.0.0(4y ago)103226[11 issues](https://github.com/haringsrob/laravel-dev-tools/issues)[1 PRs](https://github.com/haringsrob/laravel-dev-tools/pulls)APACHE 2.0PHPPHP ^8.0

Since Mar 9Pushed 2y ago4 watchersCompare

[ Source](https://github.com/haringsrob/laravel-dev-tools)[ Packagist](https://packagist.org/packages/haringsrob/laravel-dev-tools)[ Docs](https://github.com/haringsrob/laravel-dev-tools)[ RSS](/packages/haringsrob-laravel-dev-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (4)Used By (0)

Laravel lsp
===========

[](#laravel-lsp)

The Laravel/Blade lsp provides:

Blade:

- Diagnostics on missing components + action to create it.
- Autocomplete for components and their arguments.
- Hover shows the path to the view.
- Goto definition on components to jump to the view or component class.

Livewire:

- Autocomplete for livewire components and their arguments.
- Autocomplete for livewire wireable properties.
- Goto definition to the livewire class (not yet the view).
- Hover shows the path to the view.
- Diagnostics on missing wire:model rules/parameters or missing wire:click methods.
- Diagnostics on missing components + action to create it.

Extractors for (external) lsp:

- routes() autocomplete
- views() autocomplete
- container autocomplete
- config() autocomplete
- Php autocomplete in blade
- Model information, relation builders

Demo
----

[](#demo)

[![Demo](./screenshots/demo-blade-lsp.gif)](./screenshots/demo-blade-lsp.gif)

Status
------

[](#status)

This LSP is still to be considered unstable. If you find issues, you are welcome to provide a issue/pull request with a *reproducable example*.

Issues without clear steps to reproduce may be closed without answer.

As it is experimental, there is no guarantee whatsoever that this will work. Please always ensure your code is under version control.

Thing may be slow.

Installation
------------

[](#installation)

### Requirements

[](#requirements)

PHP 8.0, older versions will NOT work. (not even trying). LARAVEL 8.0, older versions will NOT work.

This LSP is based on php in your runtime. I have not tested this with docker so for now assume it will not work from outside.

Your application needs to be bootable. This LSP will run commands in your codebase to get all the information it needs. (Much like running laravel-ide-helper).

### Vscode

[](#vscode)

!! Not up to date, so best to build it yourself for now.

Install Name: [laravel-blade syntax](https://marketplace.visualstudio.com/items?itemName=cjhowe7.laravel-blade)

Download [the extension](https://marketplace.visualstudio.com/items?itemName=haringsbe-haringsrob.laravel-blade-livewire-lsp) from the vscode extensions.

### (Neo)vim

[](#neovim)

Download the compiled version from the releases then use it to setup the lsp:

This depends on your setup, below are instruction for using it with `nvim-lspconfig`

```
local lspconfig = require'lspconfig'
local configs = require 'lspconfig.configs'

-- Configure it
configs.blade = {
  default_config = {
    -- Path to the executable: laravel-dev-generators
    cmd = { "laravel-dev-generators", "lsp" },
    filetypes = {'blade'};
    root_dir = function(fname)
      return lspconfig.util.find_git_ancestor(fname)
    end;
    settings = {};
  };
}
-- Set it up
lspconfig.blade.setup{
  -- Capabilities is specific to my setup.
  capabilities = capabilities
}
```

Building from source
--------------------

[](#building-from-source)

This LSP is based on the great work in [phpactor/language-server](https://github.com/phpactor/language-server)

As it is php it actually does not need building, but we can still do this by makeing a phar so it is easier to distribute.

To build the phar you run:

```
./laravel-dev-tools app:build

```

### Building the vscode extension

[](#building-the-vscode-extension)

To build the vscode extension we have to build the phar and copy it to the extension's directory:

```
./laravel-dev-tools app:build --build-version=1 && cp builds/laravel-dev-tools extensions/vscode/laravel-dev-tools

```

Then in the `extensions/vscode` directory we do:

Install npm modules: `npm install`

Then make the package: `npm run package`

(for me: publish using `vsce publish`)

Licence notes
-------------

[](#licence-notes)

This project is based on [Laravel Zero](https://github.com/laravel-zero/laravel-zero)

It uses [phpactor/language-server](https://github.com/phpactor/language-server) for the LSP layer.

Other packages used are:

- [Spatie invade](https://github.com/spatie/invade)
    - To extract information out of laravel's core.
- [Laravel](https://github.com/laravel/framework)
    - Best php framework ever, and needed for it's types.
- [Soyhuce/next-ide-helper](https://github.com/Soyhuce/next-ide-helper)
    - To extract model information.

Todo's
------

[](#todos)

- Auto copy the readme/Licence to the extension folder when building.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0620f4b2365909cf6bdc86788a35689579dbd59e1ba51a86c839c2da321ab90e?d=identicon)[harings\_rob](/maintainers/harings_rob)

---

Top Contributors

[![haringsrob](https://avatars.githubusercontent.com/u/866743?v=4)](https://github.com/haringsrob "haringsrob (37 commits)")

---

Tags

cliconsolelaravelbladeLSPLanguage server

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/haringsrob-laravel-dev-tools/health.svg)

```
[![Health](https://phpackages.com/badges/haringsrob-laravel-dev-tools/health.svg)](https://phpackages.com/packages/haringsrob-laravel-dev-tools)
```

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

662.0M3](/packages/nunomaduro-laravel-console-summary)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)[rahul900day/laravel-console-spinner

Laravel Console Spinner is a spinner output for Laravel command line.

76125.4k1](/packages/rahul900day-laravel-console-spinner)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
