Description:
As Sr. PHP Developer, I am excited to release Response v3.0.0, a major update that significantly improves response handling, configurability, and integration. This version introduces dynamic response key customization, optimized singleton logic, and enhanced API-friendly structured responses.
πΉ Key Highlights:
β
Configurable Response Keys β Customize result
, error
, and input
key dynamically.
β
Enhanced Singleton Management β Improved performance and memory efficiency.
β
Composer Installation β Now install easily with:
composer require uxmansarwar/response
β
Refactored Codebase β Optimized for PSR-12 compliance and better maintainability.
β
Advanced Usage Examples β Updated README with real-world use cases and SEO optimization for developers.
β
Automated Testing β Introduced PHPStan, PHP-CS-Fixer, and PestPHP for robust code quality checks.
π Upgrade Notes:
- Ensure you update dependencies by running:
composer update uxmansarwar/response
- The
collection()
method has been refactored for better efficiency, ensuring smoother API response generation.
π‘ This release makes Response more powerful for Laravel, Symfony, WordPress, and PHP-based API development. π
π Check the full changelog for more details!