Download the PHP package compwright/philter without Composer
On this page you can find all versions of the php package compwright/philter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download compwright/philter
More information about compwright/philter
Files in compwright/philter
Download compwright/philter
More information about compwright/philter
Files in compwright/philter
Vendor compwright
Package philter
Short Description A user-friendly interface for the PHP filter module
License MIT
Package philter
Short Description A user-friendly interface for the PHP filter module
License MIT
Keywords filter
Please rate this library. Is it a good library?
Informations about the package philter
compwright/philter
A user-friendly interface for the PHP filter module
- Easy to use type-hinted API with IDE support
- Sticks to a reasonable subset of functionality (FILTERVALIDATOR*) and eschews deprecated and removed
filterfeatures - Values fall back to null by default
- Supports named parameters
- All objects are readonly, inspectable, and idempotent
- High code quality that passes PHPStan level 9 and a full suite of unit tests
Supported Validators:
- Boolean
- Integer
- Float
- Regexp
- Url
- Domain
- Ip
- Mac
- Callback
Each one utilizes the corresponding FILTER_VALIDATE_* constant, with its supported options and flags.
Prerequisites
- PHP 8.5+
- PHP ext-filter module
Installation
composer require --save compwright/philter
Example Usage
License
MIT License
All versions of philter with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.5
ext-filter Version *
ext-filter Version *
The package compwright/philter contains the following files
Loading the files please wait ...