Seiten · Laravilt
Plugins
Build, generate and register reusable Laravilt plugins.
The laravilt/plugins package lets you package resources, pages, widgets, migrations, translations and assets as reusable Composer packages. It provides the PluginProvider base class, generators for plugins and their components, a plugin manager with auto-discovery, and an MCP server for AI agents.
Sections
| Section | What it covers |
|---|---|
| Getting started | Generate a plugin and learn its structure |
| Concepts | Plugin classes, traits, configuration and dependencies |
| Components | Generate resources, models, commands and more inside a plugin |
| Plugin manager | The LaraviltPlugins facade and registration |
| Tutorials | Build a plugin step by step |
| Examples | The official laravilt/users plugin |
Quick start
bash
A minimal plugin
php
Register it on a panel:
php