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

Composer Plugin Laravel Package

phar-io/composer-plugin

Archived proof-of-concept Composer plugin that adds phive:run and phive:info commands to integrate Phive with Composer (e.g., install phar tools like PHPUnit). Unsupported, likely insecure, and may not work with current Composer—do not use in production.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Custom Composer Plugin Development: Enables building reusable, modular Composer plugins for internal tooling (e.g., dependency validation, custom package installation workflows, or pre/post-install hooks).
  • Accelerating Developer Onboarding: Reduces friction in dependency management by embedding domain-specific logic (e.g., auto-configuration, environment-specific overrides) into the Composer workflow.
  • Build vs. Buy: Justifies in-house development over third-party solutions when requirements are niche (e.g., proprietary package formats, legacy system integrations).
  • Roadmap for Package Ecosystem: Supports long-term strategy to standardize internal package management (e.g., enforcing security checks, version pinning policies).
  • Use Cases:
    • Enterprise Tooling: Embedding compliance checks (e.g., license validation) during composer install.
    • Multi-Repo Workflows: Cross-repository dependency resolution for monorepos or microservices.
    • Legacy System Migration: Bridging gaps between old PHP versions and modern Composer workflows.

When to Consider This Package

  • Adopt if:
    • Your team needs to extend Composer’s functionality beyond out-of-the-box features (e.g., custom package sources, dynamic dependency resolution).
    • You’re maintaining a large PHP codebase with repetitive Composer tasks (e.g., environment-specific configurations).
    • You require integration with internal systems (e.g., CI/CD pipelines, artifact repositories) during dependency resolution.
  • Look Elsewhere if:
    • Your needs align with existing Composer plugins (e.g., composer/installers, cweagans/composer-patches).
    • The package’s 2018 archival and lack of maintenance are dealbreakers (risk of compatibility issues with modern Composer/PHP).
    • You prioritize active community support or official Laravel integrations (this is a low-level PHP tool).
    • Your use case is better served by Composer scripts (post-install-cmd) or custom scripts (e.g., Symfony Flex recipes).

How to Pitch It (Stakeholders)

For Executives: "This package lets us ‘supercharge’ Composer—our core dependency tool—to automate repetitive tasks, enforce policies, and integrate with our internal systems without vendor lock-in. For example, we could bake in security scans or auto-configure packages for staging/production, saving dev time and reducing errors. While the package is archived, it’s a proven foundation for building our own plugins (like how we’d build a custom Laravel package). The trade-off? We’d need to invest in maintenance, but the ROI comes from eliminating manual work and standardizing our workflows."

For Engineering: "If you’re tired of hacking composer.json or writing post-install scripts, this gives us a clean way to encapsulate custom logic as a Composer plugin. Think of it like Laravel’s service providers, but for dependencies. Caveats:

  • The package itself is stale, so we’d fork/modernize it (or use it as a reference for a new plugin skeleton).
  • Best for internal tools—not for public packages (use plugin-skeleton instead).
  • Pair with composer-plugin-api for future-proofing. Proposal: Let’s prototype a plugin for [specific pain point, e.g., ‘auto-generating config/ files from packages’] and measure the time saved."
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