Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ux Sdc Laravel Package

tito10047/ux-sdc

ux-sdc brings single-directory UI components to Laravel apps, letting you colocate each component's Blade template, styles, scripts, and logic in one folder. Build cleaner, reusable front-end building blocks with less boilerplate, clearer structure, and easier maintenance.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for component authoring: this package implements the single-directory-components (SDC) convention — keeping a component's template, styles, script, and props/arguments together in one folder instead of scattering them across resources/views, resources/css, and resources/js. The decision it informs is whether to adopt an opinionated component convention versus growing a bespoke one internally.
  • Design-system / UI consistency roadmap: SDC-style componentization is the enabling primitive for a shared component library. If your roadmap includes a design system, an internal component catalogue, or server-rendered UI that non-frontend devs can compose, this is a candidate foundation.
  • Stack fit is the first gate, not the last: the 0.3.0 change ("BC BREAK – Changed Bundle name") confirms this is a Symfony-style bundle distribution (bundle alias, DI extension, namespaced template/asset paths), not a Laravel service provider package. If the estate is Laravel/Blade, adoption cost is materially higher than the package's size suggests — that is a real portfolio decision, not a detail.
  • Stability tiering of dependencies: at 0.3.x, this belongs in the "pilot / internal tooling" tier, not the "platform dependency" tier. It should not be on the critical path of a committed release train.
  • Version-pinning and upgrade-budget policy: a breaking change shipped in a minor version (0.2 → 0.3) is the concrete signal. The PM decision is to require exact version pins and to reserve capacity for rename-driven migrations on every bump.

When to Consider This Package

Adopt (pilot scope) when:

  • The project is PHP with a Twig-based rendering layer and you want SDC conventions without standing up a JS build pipeline for component colocation.
  • You have a small number of components, an internal audience, and can absorb a rename-sized migration once or twice a year.
  • You are explicitly exploring SDC as a pattern and want a cheap reference implementation rather than a supported product.
  • You can wrap it: consume it behind your own thin component-registry abstraction so the bundle name, template namespace, and config keys appear in one place in your codebase.

Look elsewhere when:

  • The stack is Laravel/Blade-only — the bundle/DI/Twig-namespace model does not map cleanly onto service providers and Blade components; Laravel's own anonymous/class components plus a Vite setup likely covers the need with zero third-party risk.
  • You need a stable public API (plugin ecosystem, customer-facing extension points, long-lived LTS branches). Pre-1.0 with minor-version BC breaks disqualifies it.
  • You need vendor support, SLAs, or a bus-factor above one maintainer.
  • A breaking rename would land during a code freeze or a customer-facing release window — defer to a maintenance slot.

Adoption hygiene if you proceed: pin the exact version, read the changelog before every bump, keep a single integration point for bundle/template/config identifiers, and re-evaluate at 1.0.

How to Pitch It (Stakeholders)

To executives: "We evaluated a small open-source PHP package that enforces a tidier way of organising UI components. It is technically interesting but version 0.3, single-maintainer, and just shipped a breaking rename in a minor release. Recommendation: a time-boxed internal pilot only — no customer-facing dependency, no line-of-business risk, and no spend beyond a few engineering days. We will revisit if it reaches a stable 1.0 or if our design-system work makes the pattern clearly valuable."

To engineering: "0.3.0 is a BC break — the bundle name changed. Anything referencing the old bundle alias, DI extension alias, template namespace, asset paths, or package config key needs updating; expect config files, tests, and docs to be touched, and expect the same class of change again before 1.0. So: pin the exact version, isolate bundle/template/config identifiers behind one adapter file, and treat upgrades as scheduled work rather than incidental. If we are on Laravel/Blade rather than Symfony/Twig, say so now — that changes the cost calculus and probably means we skip it."

Bottom line: low cost, low risk if contained; not a platform bet at this maturity.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console