If you are migrating from Spiral Framework 2.x, and you want to continue using the old filters you can use the spiral/filters-bridge package in this case.
spiral/filters-bridge provides support for request validation, composite validation, an error message
mapping and locations, etc.
Make sure that your server is configured with the following PHP version and extensions:
To install the package:
The package will automatically install and configure the
The package does not require any configuration and can be activated using the
protected const LOAD = [ // ... \Spiral\Filters\Bootloader\FiltersBootloader::class // ... ]
There is no difference between using the
spiral/filters component and the
spiral/filters-bridge package, so you can use
documentation for the previous Spiral version.