Releases: traderinteractive/filter-php
Releases · traderinteractive/filter-php
Version 1.6.0: In Search of Frisbee Live
Version 1.5.0
Version 1.4.0 - Default support & true/false values in Bool filter
New features
- Add trueValues and falseValues params to Boolean::filter()
- Add
url
alias to the Filterer - Add default support to Filterer
Developer changes
- Switch to PSR-4 to simplify directory structure
- Update the README with examples of each of our filters
- Fix some errors in the phpdocs
- Setup for scrutinizer ci (.yml, README images, phpunit.xml suite)
- Add poser.pugx.org composer badges in README
- Add contribution guidelines
- Small array_key_exists to isset change in Filterer
- Use
@coversDefaultClass
in any tests that are not already
Version 1.3.0 - Arrays::ofArray Filter
This release a new filter as well as a build change to add php 5.6.
The doc for the new filter can be found in Arrays source.
Version 1.2.0 - Int -> Float Casting
This release adds a new flag to the float filter that will allow integers through but will cast to floats.
For example, the following will output Succeeded
:
if (1.0 === \DominionEnterprises\Filter\Float::filter(1, false, null, null, true)) {
echo "Succeeded!\n";
} else {
echo "Failed\n";
}
This can be used with the Filterer
as well.
Version 1.1.0 - Arrays::ofScalars and Arrays::ofArrays filters
This release adds two new filters as well as a couple build fixes.
The doc for the new filters can be found in Arrays source.
Initial release
Initial release
This is the initial release of filter-php which includes the Filterer class. Although lots of function and user functions can be used with the Filterer, some helpful ones will be added to this repository in the near future!
Take a look at the readme for usage!