laravel-backend-component-docs maintained by juaniquillo
Author
Last update
2026/05/13 22:00
(dev-main)
License
Downloads
0
Laravel Backend Component
Build dynamic, class-based HTML components in PHP — no raw Blade HTML required.
Documentation
| # | Title | Description |
|---|---|---|
| 01 | Start Here | Overview, quick tour, prerequisites |
| 02 | Intro and Install | Installation, Tailwind config, view namespace |
| 03 | How to Use | Creating components, content, attributes, nesting, Livewire, serialization |
| 04 | Builders and Enum | Three builders, all 50+ enum cases |
| 05 | Theming | Theme file format, single/multi/batch apply |
| 06 | Blade Use | Template anatomy, $attrs bag, rendering pipeline |
| 07 | Helpers | Namespaced helper functions |
| 08 | Notes | Architecture, code style, testing, adding components |
Install
composer require juaniquillo/laravel-backend-component
Quick example
use Juaniquillo\BackendComponents\Builders\ComponentBuilder;
use Juaniquillo\BackendComponents\Enums\ComponentEnum;
$button = ComponentBuilder::make(ComponentEnum::BUTTON)
->setContent('Click me')
->setTheme('action', 'success');