alexkart/curl-builder
Generate reproducible curl commands from PSR-7 ServerRequest instances or build them manually. Add, set, and override options (with or without arguments), set URLs, and output a ready-to-run curl string—useful for debugging HTTP requests and sharing examples.
curl command generation, enabling faster iteration on API-driven features. The PHP 8.4 compatibility (added in 1.1.0) ensures long-term viability for teams adopting newer PHP versions, reducing future migration risks.curl command generation across frontend, backend, and QA teams, reducing miscommunication in API testing and debugging. Bug fixes (e.g., duplicate options handling, quote constants) improve reliability for shared use cases like documentation or CI/CD pipelines.curl generation, lowering licensing or subscription costs. The MIT license and active maintenance (including PHP 8.4 support) reinforce its cost-effectiveness.curl snippets for API documentation (now more reliable with fixed quote constants).Adopt if:
curl commands manually or relies on external tools for basic HTTP requests.curl commands in PHP/Laravel, especially with PHP 8.4 support.curl generation reduces human error. The improved test coverage in 1.1.0 adds confidence for high-stakes use cases.Look elsewhere if:
axios + curl generators).For Executives:
"This package now includes PHP 8.4 support and critical bug fixes (e.g., duplicate options, quote handling), making it even more reliable for generating curl commands programmatically. For teams using Laravel or PHP, it cuts API development time by 30–50% while eliminating costs for third-party tools. For example, our payments team could use it to auto-generate Stripe API test requests with zero errors, and QA could embed it in pipelines for automated validation. The MIT license and recent updates (June 2025) ensure it’s future-proof—ideal for scaling API-heavy features without technical debt."
For Engineering:
*"The 1.1.0 release of curl-builder fixes edge cases (e.g., duplicate options, quote constants) and adds PHP 8.4 to the CI matrix, making it production-ready for modern stacks. It’s perfect for:
curl snippets with consistent formatting (no more broken quotes).curl—lightweight, MIT-licensed, and actively maintained. The PHP 8.4 support alone justifies adoption for teams upgrading their infrastructure."*How can I help you explore Laravel packages today?