lagdo/ui-builder
A Laravel package for building dynamic user interfaces programmatically. Define forms, pages, and UI components in PHP or JSON, then render them with Blade, with support for a visual builder to compose layouts without hand-writing markup.
php artisan vendor:publish --tag=...) so you can override markup locally.UiComponent (renamed from HtmlComponent in v0.15.0). This is the single most important file: it defines how attributes are collected, merged, and rendered, and it's what your own components will extend.HtmlComponent before anything else — see Gotchas.UiComponent. This is the intended extension point and the thing the rename touches, so keep your subclass declarations in one place (or a shared abstract base of your own) to make future renames a one-line change.disabled, required, aria-*);<label for="..."> next to it. Centralizing the label/for/id wiring is exactly the duplication this package exists to remove.<x-...> with attributes) and push conditional logic into the PHP class, not into the template. This makes the new attribute methods useful rather than decorative.HtmlComponent → UiComponent. This is a hard rename, not an alias (nothing in the notes suggests a compatibility shim). Audit:
extends HtmlComponent in your own components;use statements and fully-qualified class references;php artisan view:clear. Renamed classes plus changed label markup can leave stale compiled Blade files that produce confusing errors.for/id attributes or wrapper markup. Anything depending on exact output — snapshot tests, CSS selectors, JS querying by structure, e2e assertions — should be re-checked. Prefer selecting on stable hooks rather than DOM shape.class or disabled and the component also sets a default, decide explicitly whether they merge or override. The new attribute methods make this configurable-ish; verify behavior with a quick render test rather than assuming.How can I help you explore Laravel packages today?