juaniquillo / laravel-backend-component-docs
Package info
github.com/juaniquillo/laravel-backend-component-docs
pkg:composer/juaniquillo/laravel-backend-component-docs
dev-main
2026-05-13 20:00 UTC
This package is auto-updated.
Last update: 2026-05-13 20:00:23 UTC
README
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');