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

Sam Bundle Laravel Package

johnkrovitch/sam-bundle

johnkrovitch/sam-bundle is a Symfony bundle that integrates SAM functionality into PHP applications, adding configuration and service wiring so you can use SAM features in Symfony projects with less boilerplate and easier setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Verdict up front: Still not viable for a Laravel codebase, and marginal even for a legacy Symfony one. The headline finding is unchanged — this is a Symfony bundle, not a Laravel package. v0.2 is a small, positive maintenance release that softens the "abandoned" critique but does not touch the category mismatch that drives the rejection.

Architecture fit

  • No Laravel integration surface: still no service provider, facade, publishable config, or package auto-discovery (extra.laravel). Adopting it in Laravel still means writing a bridge — a service provider to wire the bundle's DI services plus an Artisan wrapper around its console command.
  • v0.2's PSR-4 directory restructure is a welcome modernization but is internal hygiene, not a Laravel or modern-Symfony compatibility story. It does not add autodiscovery, Laravel contracts, or config/ + recipes support.
  • Still targets Symfony's legacy app/config layout (Symfony 2.x–3.x, pre-Flex). Modern Symfony uses config/ + recipes; Symfony 5 removed ContainerAwareCommand and Command::getContainer(). Expect it not to boot on any currently supported Symfony.
  • The package remains thin: one console command plus a config loader. Low intrinsic value, high reproduction feasibility — the v0.2 improvements do not change this.

Integration feasibility

  • Composer constraints are still likely pinned to old Symfony/PHP. v0.2 does not claim a Symfony or PHP floor bump, and the release notes make no mention of PHP 8 or Symfony 5/6/7 support. Absent that, dependency conflict with Laravel 10/11/12 (PHP 8.1+) remains the default expectation.
  • v0.2 shows real maintenance activity: a reported infinite build loop (#4) was fixed, which implies at least some users in the wild. This is the first evidence of an engaged user base — a positive signal, but the population is still tiny relative to mainstream alternatives.
  • "Improve testings (tests against different environments)" is encouraging but underspecified — without a stated matrix we cannot verify PHP 8, Symfony 5+, or Windows coverage, so it does not close the compatibility question.
  • Still requires reverse-engineering an undocumented config schema, and the underlying "Sam" build tool remains an external dependency whose availability and licensing need independent verification.

Technical risk: High (marginally reduced from High-Critical)

  • Prior "archived since Dec 2018" framing is now stale and should be corrected: v0.2 is a recent release. However, 0.x versioning, a single small release, and no published compatibility matrix mean we cannot rely on cadence.
  • Still no evidence of PHP 8 compatibility work, security response process, or CVE handling. Transitive dependencies may still be dead or drifting.
  • Build-time code execution remains the sharp edge: an asset build command runs in CI with repository credentials. Any unmaintained code on that path is supply-chain surface.
  • The infinite-build-loop fix is a genuine reliability improvement and reduces one concrete failure mode, but does not change the overall risk class.

Key questions

  1. What does "Sam" actually do — shell out to a binary/Node tool, or pure PHP? This determines whether the behavior is reproducible in-house.
  2. Is the config schema documented anywhere, and how many distinct build targets does it cover?
  3. What is the real business need — asset compilation, preprocessing, cache-busting? (Mix/Vite/Encore likely already solve it.)
  4. Which PHP/Symfony versions must we support? Does the v0.2 test matrix include PHP 8 and Symfony 5+? Is any legacy Symfony service still in the estate?
  5. Who owns the fork if we adopt, and what does that cost versus writing a ~100-line Artisan command?
  6. What is the release cadence and maintainer count behind v0.2? Is this a one-off patch or the start of renewed maintenance?

Integration Approach

Stack fit: Poor, unchanged. A Symfony bundle is the wrong abstraction boundary for a Laravel stack. The defensible path remains to extract the intent — a declarative asset-build config driving a console command — not the code.

Migration path

  1. Do not composer require this into production. Treat it as a reference implementation.
  2. Read the command and config loader; extract the schema and the build steps it triggers. v0.2's "improve build command" and initial-build-in-watch behavior are worth noting as intent, not as adoption drivers.
  3. Reimplement natively as an Artisan command or a composer build / npm script that invokes the underlying tool directly.
  4. If the underlying Sam tool is genuinely valuable and maintained, integrate that — not this wrapper.

Compatibility: Still none guaranteed. v0.2's unspecified "tests against different environments" is a signal but not proof. Assume incompatibility until a timeboxed spike proves otherwise; the spike is now slightly more likely to succeed on old Symfony stacks but not on Laravel.

Sequencing

  • Week 0: timeboxed spike in a throwaway app to confirm constraints and behavior — no production dependency. Capture the exact test matrix claimed by v0.2.
  • Week 1: build-vs-buy decision; document the config schema if reimplementing.
  • Week 2+: ship native tooling, or vendor a fork with a named owner and an explicit upgrade plan.

Operational Impact

Maintenance: Still highest-cost category. Adoption remains effectively a permanent fork obligation. v0.2 reduces — but does not eliminate — the risk that we are the sole maintainers from day one; we now have at least one upstream release to pull from, which is an improvement over the prior assessment.

Support: No evidence of issue triage SLAs, security response process, or CVE path. MIT is clean legally, but license ≠ support. The single #4 bugfix suggests reactive, low-volume maintenance.

Scaling: Not a runtime concern — build-time tool. The infinite-loop fix (v0.2) is a direct improvement to build reliability and therefore to CI throughput on the margin. The "initial build in watch" change reduces developer iteration friction. Both are quality-of-life wins for whatever team uses it; neither changes the scaling picture versus mainstream tooling.

Failure modes

  • Composer resolution failure on the next PHP/Laravel upgrade (still the most likely near-term failure).
  • Silent build drift as the underlying binary/tool versions change.
  • CI breakage from abandoned transitive dependencies.
  • Security exposure from unmaintained code executing in a credentialed build context.
  • Bus factor: schema knowledge lives only with whoever reverse-engineered it.
  • (Retired risk) Infinite build loop — addressed in v0.2.

Ramp-up: Still high relative to package size. Sparse docs, thin published test evidence, no examples. The PSR-4 restructure modestly improves code navigation, but onboarding remains source-reading. Compare with Vite or Mix, where onboarding is measured in hours.

Recommendation: Reject for adoption; mine for design intent only. v0.2 is a legitimate, welcome maintenance release that removes the "abandoned" objection and confirms at least some real-world usage, but it does not close the Symfony-vs-Laravel category gap, the PHP 8 / Symfony 5+ compatibility question, or the build-time security exposure. For a Laravel estate, the TCO still exceeds plausible benefit; the correct move remains to reimplement the config-driven build intent natively on Artisan plus the mainstream toolchain.

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.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk