Download the PHP package sandermuller/laravel-fluent-validation-rector without Composer
On this page you can find all versions of the php package sandermuller/laravel-fluent-validation-rector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sandermuller/laravel-fluent-validation-rector
More information about sandermuller/laravel-fluent-validation-rector
Files in sandermuller/laravel-fluent-validation-rector
Package laravel-fluent-validation-rector
Short Description Rector rules for migrating Laravel validation to sandermuller/laravel-fluent-validation
License MIT
Homepage https://github.com/sandermuller/laravel-fluent-validation-rector
Informations about the package laravel-fluent-validation-rector
Laravel Fluent Validation Rector
Rector rules for migrating Laravel validation to sandermuller/laravel-fluent-validation. Pipe-delimited strings, array-based rules, Rule:: objects, and Livewire #[Rule] attributes all convert to FluentRule method chains.
Tested on a production codebase: 448 files converted, 3,469 tests still passing.
Installation
Requires PHP 8.3+, Rector 2.5+, and sandermuller/laravel-fluent-validation ^1.32.0. On an older fluent-validation, see the pin table.
Getting started
ALL runs converters, grouping and trait insertion. Three sets stay out of it on purpose and run as later passes: SIMPLIFY, POLISH, and SCHEMA.
Documentation
Full documentation lives at https://sandermuller.github.io/laravel-fluent-validation-rector/.
- Why this package? · Installation · Getting started · Sets
- String and array converters · Livewire attributes · Wildcard grouping · Trait insertion
- Simplify · Docblock polish · Adopting FluentSchema
- The
#[FluentRules]attribute · Configuration - Formatter integration · Diagnostics · Parity harness · AI assistant integration
- Rule reference · Detection and limitations
The sources are in PUBLIC_API.md.
Testing
The suite runs against Orchestra Testbench, so no host Laravel app is required.
Changelog
Release notes live in releases page.
Contributing
See CONTRIBUTING.md for the dev setup, test workflow, and PR conventions.
Security
Disclose vulnerabilities privately. See SECURITY.md.
Credits
License
MIT. See LICENSE.md.
All versions of laravel-fluent-validation-rector with dependencies
rector/rector Version ^2.5.2
sandermuller/laravel-fluent-validation Version ^1.32.0
symplify/rule-doc-generator-contracts Version ^11.2