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

Archetype Bundle Laravel Package

sylius/archetype-bundle

Sylius ArchetypeBundle adds reusable archetypes to Sylius, letting you define product templates with shared attributes and options. It streamlines catalog setup, keeps similar products consistent, and reduces repetitive configuration when creating new items.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. Not a fit for a Laravel/PHP stack as a runtime dependency. sylius/archetype-bundle is a Symfony bundle built on the Symfony DI container, compiler passes, Doctrine ORM mappings, and Sylius' ResourceBundle/registry conventions. Laravel's container, Eloquent, and package discovery model are structurally incompatible; there is no adapter path short of a rewrite. The only genuinely transferable asset is the domain model: a reusable product archetype that preconfigures attributes, options, and catalog settings so editors start from a template rather than from scratch.

Integration feasibility. Very low. Composer may resolve the package, but it will not boot in Laravel and carries hard coupling to Sylius core bundles and legacy Symfony/PHP version constraints. The repository is archived and read-only with zero dependents — a strong signal that no one is maintaining an integration surface for it. TPM framing: this is a specification artifact, not a build input.

Technical risk. High. No security patches, no PHP 8 / modern Symfony support, no upstream fixes. The archetype capability was absorbed into Sylius core (ProductOption → generated ProductVariant set), so adopting the standalone bundle re-introduces a dependency the vendor deliberately removed. The realistic failure mode is a stalled spike after engineering time is sunk into debugging a read-only codebase.

Key questions.

  • Is the underlying requirement real — do editors need reusable product templates — or was this surfaced by package-search relevance alone (the 8.48 opportunity score is a concept signal, not a package signal)?
  • Is any part of the estate actually running legacy Sylius (0.x–1.x), or is this purely a Laravel/Symfony-modern shop?
  • If Sylius is in scope, which version, and can we use the archetype behavior now in Sylius core instead?
  • What is the build cost of a small Laravel-native product_archetypes model versus the cost of forking an archived bundle?
  • Do we also need capabilities this explicitly does not cover — bundles/kits, made-to-order configurators with arbitrary attribute pricing?

Integration Approach

Stack fit. Poor for Laravel; acceptable only as read-only reference material for a legacy Sylius install. It should not appear in a Laravel composer.json as a runtime dependency.

Migration path. Two distinct paths, neither of which installs the bundle:

  • Sylius estate: exclude this bundle; upgrade to a supported Sylius release and use the archetype/option functionality in core. Treat the repository as reference for domain-model shape, then remove the dependency.
  • Laravel estate: do not port the bundle. Reimplement the concept natively — a product_archetypes table, pivot tables for archetype↔attribute and archetype↔option assignments, and a service that hydrates the product-creation form with preselected values. This is a small, well-bounded Eloquent feature with clear tests.

Compatibility. No Laravel compatibility. Expect conflicts with modern laravel/framework, doctrine/dbal, and PHP 8.x runtimes; the original targets legacy PHP/Symfony.

Sequencing.

  1. Validate the requirement. Confirm whether product templates/archetypes are a real roadmap need, separate from the package.
  2. Inventory the estate. Confirm whether any legacy Sylius code references archetypes; if not, close this out as "reference only."
  3. If Sylius is in scope, plan a core-based upgrade and exclude this bundle from the dependency graph.
  4. If Laravel is the target, write a one-page domain spec for archetypes and build it internally with tests — do not wrap or fork the bundle.
  5. Only if a legacy Sylius system must be maintained short-term, fork with a named owner, patch cadence, and a documented exit timeline.

Operational Impact

Maintenance. Zero upstream maintenance — the repository is archived, so every bug, compatibility break, and security issue becomes ours. A fork would need an owner and a deprecation plan from day one; without that, it becomes permanent orphaned code.

Support. No vendor support, no active maintainers, no issue triage. With 4 stars and zero dependents there is essentially no community knowledge base; internal tribal knowledge would be the only support channel, and it evaporates when the one engineer who read the Symfony internals leaves.

Scaling. The archetype data model is simple and scales fine — the constraint is architectural coupling, not throughput. In a Laravel context the bundle adds a Symfony runtime surface that provides no operational value because it does not run at all; in a Sylius context it is redundant with core and therefore adds complexity without capability.

Failure modes. Composer resolution failures; container compilation failures under modern Symfony; Doctrine mapping incompatibilities; silent behavioral divergence from Sylius core; abandoned-package security exposure in an audit; and developer time sink on a read-only codebase. The most likely outcome is a stalled integration attempt after the spike.

Ramp-up. High for Laravel developers — Symfony bundle internals plus Sylius domain knowledge for little reusable output. Low-to-moderate for Sylius developers, who will recognize the pattern but should use core instead. Net ramp-up cost exceeds the package's delivered value.

TPM recommendation. Do not adopt. Approve a short, time-boxed spike to confirm whether any legacy archetype usage exists and to extract the domain model as a written spec; if no legacy usage, close the item and move the roadmap entry to "reference only." Spend the differentiation budget on merchandising, pricing rules, and B2B tiering — not on re-introducing table-stakes platform functionality.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings