Skip to content

πŸš€ Response v3.0.1 - Major Update with Enhanced Flexibility & Composer Support

Latest
Compare
Choose a tag to compare
@uxmansarwar uxmansarwar released this 11 Mar 23:33
372ac0c

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!