Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Support for Laravel 13.
- Ability to skip validation via
skipValidation(),saveWithoutValidation(), and the staticwithoutValidation()callback helper (#12). validateOnUpdating()helper to validate on theupdatingmodel event.modelValidator()accessor andModelValidator::makeValidator()for building the underlying validator instance.- Test suite (PHPUnit + Orchestra Testbench) and a GitHub Actions matrix covering PHP 8.2–8.4 and Laravel 12–13.
- Code style enforced with Laravel Pint (
composer lint/composer format) and checked in CI. - Community health files:
CONTRIBUTING.md,SECURITY.md, a pull request template, and refreshed issue templates.
Changed
- BREAKING: Minimum requirements are now PHP 8.2 and Laravel 12.
- Depend on the individual
illuminate/*components instead of the fulllaravel/frameworkpackage. - Rewrote
ModelValidatorandValidatorTraitwith strict types, constructor property promotion, and typed signatures.validate()now returns the validated data.
Removed
- Support for Laravel 11 and earlier (end-of-life).