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

Bundle Laravel Package

leuverink/bundle

Bundle is a Laravel package that swaps Vite for Bun's fast bundler, offering familiar Blade directives, hot module reloading, and simple asset compilation so you can build and serve JavaScript and CSS in development and production with minimal configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modularization vs. monolith: Informs whether to extract a domain slice of a Laravel app (models, migrations, routes, views, config) into a reusable, distributable bundle instead of a plain namespaced folder or an internal Composer package. This is a code organization decision with long-term cost implications, not a feature decision.
  • Build vs. buy (small): The alternative is 1–3 days of internal tooling — a make-command, a service provider stub, and a path-repository setup. Buying costs ~zero license but adds a single-maintainer dependency.
  • Roadmap sequencing: Relevant only if multi-product reuse is on the roadmap (shared billing core, shared auth/tenancy layer, white-label deployments). If not, this is a distraction — do not schedule it.
  • Feature reuse across client deployments: Supports decisions about shipping the same feature set into several Laravel apps (agency/white-label context) versus maintaining forks.
  • Architecture spikes and internal DX: Cheap to prototype in a timeboxed spike, so it can be used to answer the modularization question without committing the team.

When to Consider This Package

Adopt for a timeboxed spike when all of the following hold:

  • You have a concrete, near-term need to ship the same slice of Laravel code into 2+ applications, or to hand a module to another team.
  • The slice is well-bounded and low-blast-radius (reporting, integrations, an admin panel) — not core auth or billing.
  • Your team is fluent in Composer path repositories and Laravel package conventions; if so, the package saves boilerplate rather than teaching a concept.
  • You can pin an exact version and accept that you may vendor or fork it.

Look elsewhere (or just use plain internal packages + nwidart/laravel-modules / Spatie package tooling) when:

  • Adoption risk is unacceptable. 53 stars, 0 dependents, and a last release in October 2024 mean effectively no production signal. There is no community to catch a breaking change in Laravel 12+.
  • It would sit on a critical path. A single-maintainer package with no downstream users is a bus-factor and abandonment risk you inherit.
  • Your need is a monolith with clean boundaries, not distribution. If you are not actually publishing or sharing the bundle, the abstraction is pure overhead.
  • Compliance or long-term support matters. No security policy, no LTS commitment, no vendor SLA.
  • You need guarantees about Laravel version support. Verify against your target framework version before anything else.

Mandatory gate before any code: read the README and source directly to confirm the exact scope of "bundle" here, and treat the README as the spec — at this maturity there is no other documentation. Have an engineer spend half a day proving it works on your Laravel version.

How to Pitch It (Stakeholders)

For executives (30 seconds): There's a small open-source utility that helps us package one part of our Laravel codebase so it can be reused across projects instead of copied. It's free (MIT) and low-effort to trial, but it has essentially no adoption — 53 GitHub stars, zero projects depending on it, last touched in late 2024. Recommendation: fund a one-week spike, not an adoption. We use the spike to answer a bigger question — should we modularize at all — and we keep the exit option of writing the equivalent tooling ourselves in a few days. No production dependency without a fork plan.

For engineering: It's a convenience layer over Laravel package conventions. We pin the version, keep it out of the critical path, and if the maintainer goes quiet we vendor it. The real deliverable is the boundary design, not the tool — the package should not be the reason we choose an architecture.

Decision we're asking for: approval for a timeboxed evaluation, with a default answer of "no production use" unless the spike shows reuse demand we can't meet with plain Composer packages.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle