Skip to content

v5.0.0: The Modernization Update — PHP 8.3, Laravel 13 Support & Strict Typing

Choose a tag to compare

@jayeshmepani jayeshmepani released this 27 Apr 08:48

⚠ BREAKING CHANGES

  • PHP 8.3 Required: Minimum PHP version bumped from 8.2 to 8.3 (required for Laravel 13 support)
  • Strict Typing: Added declare(strict_types=1) to all PHP files for type safety

⭐ New Features

  • Laravel 13 Support: Full compatibility with Laravel 13.x
  • Comprehensive Test Suite: Added 37 tests with 110 assertions using Orchestra Testbench
    • Unit tests for LocaleHelper and TextHelper utilities
    • Feature tests for CommandRegistration, ServiceProvider, ScannerService, and FileSystemService
  • Code Quality Tools: Integrated PHPStan (level 5), Laravel Pint, and Rector
  • Type Safety: Strict type declarations and explicit type casting throughout codebase

🔧 Improvements

  • Strict Comparisons: Replaced empty() with explicit array/string comparisons (=== [], !== [])
  • Strict in_array(): Added true parameter for strict type checking
  • Command Options: Added explicit (int) casts for chunk-size, retry-delay, and concurrency options
  • Removed Unused Code: Cleaned up 3 unused class constants

🐛 Bug Fixes

  • Runtime Type Errors: Fixed usleep() calls to use int instead of float
  • Type Safety: Fixed all PHPStan level 5 errors across the codebase

📋 Requirements

  • PHP 8.3 or higher
  • Laravel 11.0, 12.0, or 13.0