The Wire · Showcase
LARAVEL 13 TIGHTENS VALIDATION AND IMAGE EXPORTS WHILE PACKAGE SKELETON GETS HARDENED FOR CI
By RepoJournal · Filed · About Laravel
Laravel's core shipped four validation and image format additions overnight while fixing the configure script that was crashing on non-interactive runs.
The framework landed a batch of PHPUnit assertion cleanups [1] that modernizes the test suite using rector, then added four missing image output formats to the Image component [2]: PNG, GIF, AVIF, and BMP now have fluent methods matching the existing webp and jpeg patterns. On the validation front, a new base64 rule [3] validates RFC 4648 strict encoding, filling a gap that other libraries like Zod already handle. More critically, the package skeleton hardened its non-interactive configure flow [4] to prevent crashes when AI agents or CI runners execute it without a TTY, validating metadata before rewriting files and syncing composer.lock to remove configure-only dependencies. Docs caught up with guides on the artisan dev command [6] and the package skeleton itself [5], bringing developers up to speed on orchestrating development processes and scaffolding new packages.
Action items
- → Review the new base64 validation rule [ref:4] if you validate user input against RFC 4648 encoding laravel/framework [monitor]
- → Update non-interactive configure scripts to expect JSON error output from package skeleton [ref:6] laravel/package-skeleton [plan]
- → Read the artisan dev command docs [ref:11] to understand process orchestration in your local setup laravel/docs [monitor]
References
- [1] Apply rector PHPUnit assertion cleanups (#60807) laravel/framework
- [2] [13.x] Add PNG, GIF, AVIF, and BMP output formats to the Image component ↗ laravel/framework
- [3] [13.x] Add base64 validation rule (#60808) laravel/framework
- [4] Harden the non-interactive configure flow ↗ laravel/package-skeleton
- [5] Document the Package Skeleton for creating new packages ↗ laravel/docs
- [6] Document the `artisan dev` command (#11288) laravel/docs