phing/phing-composer-configurator
Composer plugin that installs and configures Phing from composer.json. Ensures the Phing binary and settings are set up during Composer install/update, simplifying Phing integration in PHP projects and keeping build tooling consistent.
Install Phing via Composer as a dev dependency — this package is a transitive dependency that auto-configures Phing.
composer require --dev phing/phing
After installation, verify the CLI works:
vendor/bin/phing -p
Ensure a build.xml exists in your project root — Phing requires it to define build targets (e.g., build, test). Without it, Phing exits silently with no output.
vendor/bin/phing works out-of-the-box without system-wide Phing installation — ideal for team onboarding and CI consistency.build.xml (e.g., phpcs, phpunit, phpdoc) and run via vendor/bin/phing test. Phing tasks run outside your app’s autoloader context — manually include vendor/autoload.php in custom tasks if needed.vendor/bin/phing build to your pipeline. Because the plugin guarantees Phing is resolved via Composer, environments stay reproducible (no phing CLI version drift).composer-plugin-api ^1.1|^2.0, but Composer 2.2+ uses API 2.2+. Though phing/phing currently works with Composer 2.2+, subtle side effects (e.g., plugin activation issues) may occur. Run composer diagnose to verify.build.xml = silent failure: Unlike tools like Make, Phing won’t warn if the build file is missing — your CI may pass without doing anything. Add a CI pre-check: test -f build.xml || exit 1.vendor/bin/phing does not share your project’s Composer autoloader. In custom tasks, explicitly include it:
require __DIR__ . '/vendor/autoload.php';
build.xml under <phingfile> or via phing.classes (see Phing documentation). There’s no plugin hook system here.How can I help you explore Laravel packages today?