wyrihaximus/makefiles
Reusable Makefile building blocks for PHP projects. Install via Composer and compose consistent, CI-friendly targets across repositories without rewriting common rules. Minimal package focused on sharing standardized Makefile snippets and workflows.
composer.json (e.g., disabling code-style, unit-tests), making it adaptable to project-specific needs (e.g., monorepos, legacy systems).composer require wyrihaximus/makefiles), requiring zero manual Makefile configuration—ideal for greenfield Laravel projects or standardizing existing workflows.artisan migrate). Would need custom Makefile rules or wrapper scripts.migrate/rollback targets. Could be bridged via php artisan calls in custom rules.DOCKER_SOCKET mounting) may complicate local development for teams without Docker setups. Mitigation: Provide fallback non-Docker rules.supported-features in composer.json adds runtime configuration overhead. Risk of misconfiguration if not documented clearly.etc/qa/infection.json5). Could cause path resolution issues in non-standard Laravel projects (e.g., custom app/ structure).phpunit.xml, rector.php)?make test, make cs-fix).phpunit, php-cs-fixer).phpunit calls for make test).supported-features overrides).make artisan).| Package Feature | Laravel Integration | Risk |
|---|---|---|
| Docker-based workflows | Works with Laravel Sail | High (non-Docker teams) |
| PHPUnit/Infection | Native support | Low |
| Code Style (PHPCS) | May conflict with Laravel’s built-in tools | Medium |
| Artisan commands | Missing (requires custom rules) | High |
| Database migrations | Missing (requires php artisan wrappers) |
High |
composer.json.etc/qa/phpstan.neon) may fail in custom-structured projects.composer.json (e.g., disable windows if unsupported).composer require wyrihaximus/makefiles --dev
make help lists expected targets.test, cs-fix, docker-build).make migrate:fresh).etc/ → config/)../vendor/bin/phpunit) with make test.make-based workflows.^ in Composer).make artisan).supported-features interacts with Laravel’s config/).make test runs PHPUnit in Docker) may increase resource usage.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Package update breaks Laravel | CI/CD pipelines fail | Pin to a stable release |
| Docker socket misconfiguration | Tests fail silently | Add make test --no-docker fallback |
| Feature toggle misconfiguration | Disabled tools still run | Document supported-features clearly |
| Path resolution errors ( |
How can I help you explore Laravel packages today?