NiclasvanEyk / blade-devtools

Devtools for the Blade templating engine, similar to ones from Vue or React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blade Devtools

An attempt to build something like Vue's Devtools or the React Developer Tools for the Blade templating engine.

Screenshot of a development version of Blade Devtools showing various elements used in Filament

Installation

This is still in development, there is no package you could readily install.

Development

There are two packages/ and one example Laravel app for testing their integration. Right now the functionality is split into a composer package which swaps out the implementation of the Blade compiler with one that emits debug markers and a NPM package that consumes them.

To start developing just setup the example app like any other Laravel application. The two packages are setup to symlink to their local versions during composer install and npm install, so any changes should be reflected immediately.

About

Devtools for the Blade templating engine, similar to ones from Vue or React.


Languages

Language:PHP 58.5%Language:Blade 27.6%Language:Vue 8.4%Language:TypeScript 3.4%Language:JavaScript 1.9%Language:HTML 0.1%Language:CSS 0.0%