00 / Reviewed plugins
Pluginsfor Lerd
Commands, dashboard pages, AI tools and services that extend Lerd. A maintainer reads each plugin at one exact commit, and that commit is the one Lerd installs. Plugins run as you, so read what you install.
laravel-inspect
See inside a Laravel app on its own tab and for AI agents, from routes, models and policies to config, bindings, queues, storage and cache
README at reviewed commit f76dcd2
A lerd plugin that shows what is inside a Laravel app: routes, middleware, models and policies, views, Artisan commands, the resolved config, container bindings, database schema, migrations, scheduled tasks, events and listeners, broadcast channels, queues, failed jobs, storage and cache. It reads what the app has actually registered, packages included, rather than guessing from files.
Install
From lerd's dashboard, Plugins › Browse, or:
lerd plugin install https://github.com/ExeQue/lerd-laravel-inspect
It needs lerd 1.39.1 or newer, python3 on the host, and a Laravel 11+ app. The optional laravel_inspect: settings in .lerd.yaml are read with PyYAML; without it they are ignored and only the default disk, cache store, queues and database connections show.
What it adds to lerd
- A site tab, Laravel, on Laravel 11+ sites. Its sections sit in a grouped sidebar: Overview; HTTP (routes, middleware, channels); Data (models, database, migrations); Code (views, commands, events, listeners, policies, bindings, schedule, config); Runtime (queues, failed jobs, cache, storage). If a site's Laravel app cannot be inspected, such as before
composer install, it says so. - MCP tools for AI assistants,
laravel-inspect_overview,_routes,_modelsand the rest, all read-only, and a skill (SKILL.md) that tells an assistant which tool answers which question. lerd writes the skill withlerd mcp:injectorlerd mcp:enable-global. - CLI commands,
lerd laravel-inspect:routesand the rest, run inside a linked project. - API endpoints under
/api/plugins/laravel-inspect/, loopback only, which the tab uses.
It adds no hooks, page scripts, notifications, services or frameworks.
DOCS.md describes every section, command and tool.
How it works
bin/inspect is one Python script; every bin/<section> is a link to it, and the name it is called by picks the section. It runs php/inspect.php with lerd php in the site's folder, so the PHP runs in lerd's PHP container for that site, not on the host. That script boots the app once and prints the section as JSON. When the tab opens, all sections come from one such boot.
Answers that only depend on code (routes, models, events, listeners, views, commands, policies, bindings, channels, middleware) are kept in an index in the plugin's data folder until a file in the app changes.
What it reads
- The site's code and the state its booted app reports, through Laravel's own APIs (
artisan about,model:show, the router, the container, the event dispatcher, the schedule, the migrator). - The app's resolved config, which includes values from its
.envand its lerdenv_provider. Credentials are masked before they leave the app: keys named like one (key,secret,password,token,dsnand the like), a password in a URL such asredis://user:pass@host, in a query string (?token=) or in a DSN (password=), and any value equal to a secret environment variable of six or more characters. It is a pattern match, so a secret under an unusual name in an unusual form can still show. Disks and cache stores show where data goes, never their keys; database connections show their driver, database, host and port, never their URL, username or password.php/selftest.phpchecks this; run it from a Laravel app's folder withlerd php ~/.local/share/lerd/plugins/laravel-inspect/php/selftest.php. - Its database schema and row counts, its migrations table, failed jobs and queue sizes.
- Files and folders on the app's storage disks, and cache keys, when browsed in the tab or asked for by a tool.
- The project's
.lerd.yamland.lerd.local.yaml, for the optionallaravel_inspect:settings (which disks, cache stores, queues and database connections to show). - lerd's API, with the token lerd gives the plugin: which editor is set (
/api/editors), and to open a file in it (/api/open-editor).
What it changes
Only on the user's action in the tab, each behind a confirmation where it cannot be undone:
- Delete removes a file from a storage disk.
- Clear empties a cache store (on Redis,
FLUSHDBof its database; the confirmation names what else lives there), Forget removes one cache key, and Clear on Laravel's config, route, event or view cache runs itsartisan …:clear. - The open buttons ask lerd to open a file in the editor set in lerd.
The MCP tools and CLI commands change nothing. The plugin writes only its index, in its own data folder.
Network
The plugin sends nothing anywhere. Browsing an S3 disk lists it through the app's own S3 configuration, which talks to whatever endpoint the app is set up with (often lerd's local RustFS).
What the MCP tools answer goes to the AI assistant that asked, and from there to whichever model it runs on, as with any MCP tool. That includes file contents from storage-read, cache values from cache-get, and exception messages from failed-jobs, which are not masked. A disk can be rooted anywhere the app sets it to, so a disk rooted at the project can show its files, .env included.
License
MIT
01 / Make one
Build a pluginand list it here.
Shell, Python or Node, for anything Lerd doesn't do on its own: your team's tools, a debug bar, a dashboard for the one service you always open.
-
01
Build it
Start from a working plugin that uses every surface, or ask your AI assistant: Lerd's MCP server carries the plugin guide.
$lerd plugin new my-plugin -
02
Publish it
Put it in a public git repository with a README, a license and a screenshot of what it adds.
-
03
Submit it
Open a pull request on lerd-env/plugins naming one commit. A maintainer reads it, and that commit is what everyone installs.

