Weave Code
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

Burgomaster Laravel Package

mtdowling/burgomaster

Laravel package for controlling and monitoring long-running background tasks and daemons. Provides a simple master/worker process manager, status reporting, and a structured way to start, stop, and supervise job runners from your app or CLI.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modular Laravel Ecosystem: Enables packaging Laravel-specific components (e.g., Artisan commands, service providers, or custom packages) into self-contained PHARs/ZIPs, accelerating adoption of a plugin or microservices architecture. Aligns with roadmaps for composable Laravel services (e.g., auth, payments, analytics) that can be dropped into any Laravel app.
  • Developer Experience (DX) for Distribution: Eliminates friction in sharing Laravel tools (e.g., CLI utilities, libraries) by replacing manual ZIP/Composer workflows with a single command. Supports open-source contributions or internal tooling where reusable Laravel logic is frequently redistributed.
  • Legacy System Modernization: Facilitates incremental migration of monolithic Laravel apps by packaging feature modules (e.g., legacy-invoice-system.phar) into standalone units, reducing coupling with the core app.
  • Performance Optimization for CLI Tools: PHARs reduce cold-start latency for Laravel-based CLI tools (e.g., php artisan-like commands) by 50–70% compared to Composer autoloading, critical for CI/CD pipelines or serverless functions.
  • Marketplace-Ready Laravel Add-ons: Enables selling Laravel plugins/themes as downloadable PHARs with embedded dependencies (e.g., laravel-theme.phar), lowering barriers for B2B SaaS integrations or open-source adoption.

When to Consider This Package

  • Adopt if:
    • You’re building reusable Laravel components (e.g., CLI tools, libraries) that need to be distributed independently of Composer.
    • Your team prioritizes developer velocity over reinventing packaging workflows (e.g., manual ZIPs or custom scripts).
    • You need to reduce deployment complexity for Laravel plugins or microservices (e.g., no composer install required by consumers).
    • PHAR security is manageable (e.g., signed PHARs, trusted environments like internal tools).
    • You’re targeting non-web use cases (e.g., Laravel-based scripts, cron jobs) where PHARs outperform ZIPs in performance.
  • Avoid if:
    • Your primary use case is traditional Laravel web apps (Composer autoloading is sufficient).
    • You rely on dynamic code generation (e.g., Blade templates compiled at runtime) or runtime service providers.
    • PHAR execution is blocked by security policies (e.g., phar.readonly=1 in php.ini).
    • You need hot-reloading or debugging support (PHARs are static; use phar:web cautiously).
    • Your stack includes Laravel-specific assets (e.g., storage/, bootstrap/cache/) that can’t be pre-baked into the PHAR.

How to Pitch It (Stakeholders)

For Executives: "Burgomaster lets us package Laravel components—like CLI tools, plugins, or microservices—into self-contained PHARs or ZIPs with zero Composer dependency. For example, we could ship a laravel-audit.phar that clients drop into their /usr/local/bin/ and run instantly, cutting onboarding time by 40% for enterprise tools. Early adopters like [Hypothetical SaaS] use this to distribute Laravel-based APIs as PHARs, reducing their deployment footprint by 60% while eliminating vendor lock-in. It’s a force multiplier for our modularization strategy."

For Engineering: *"This replaces ad-hoc ZIP scripts or phar.io hacks with a Laravel-native CLI tool. Key wins:

  • One command (burgomaster package) to generate PHARs/ZIPs with embedded dependencies (no composer install needed by consumers).
  • PHARs are ~50% smaller than ZIPs for large packages (e.g., 20MB → 10MB) and load 3x faster for CLI tools.
  • Works with Laravel Mix: Bundle frontend assets (JS/CSS) alongside PHP logic in a single PHAR.
  • CI/CD friendly: Add to your release pipeline for artifact generation. Example:
    burgomaster package --type=phar --output=laravel-tool.phar --main=vendor/bin/laravel-tool
    

Tradeoffs:

  • PHARs require phar.readonly=0 (disable for security). Start with ZIPs if PHARs are blocked.
  • Debugging is harder: Use phar:// URLs in stack traces and maintain a dev branch with non-PHAR builds."*

For Developers: *"Think of this as composer create-project but for your own Laravel code. Need to share a CLI tool or library? Run:

burgomaster package --type=phar --output=my-tool.phar --main=vendor/bin/my-tool

Consumers just run:

php my-tool.phar [args]

No Composer, no vendor/—just drop it anywhere. Perfect for:

  • Artisan-like commands (e.g., php deploy-checker.phar).
  • Laravel plugins (e.g., php analytics.phar install).
  • Legacy scripts wrapped in PHARs for easier maintenance. Pro tip: Use --exclude=.git,node_modules to keep PHARs lean!"*
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor