Skip to content

Releases: traderinteractive/filter-php

Version 1.6.0: In Search of Frisbee Live

08 Aug 18:56
Compare
Choose a tag to compare

Major Features

  • Add String::explode and Arrays::flatten filters. [PR #43]

Developer Changes

  • Create a docker/fig based build. [PR #41]
  • Update build scripts to use phpcs as a library. [PR #40]
  • Access PHPUnit as a library for gathering report [PR #39]

Version 1.5.0

05 Jun 13:30
Compare
Choose a tag to compare

Minor Features

  • Add registerAlias [PR #22]
  • Add email filter [PR #38]

Bug Fixes

  • Remove PHP 5.4 array syntax. Boo. [PR #35]

Developer Changes

  • Fix broken link to Filterer in README. [PR #34]
  • Add documentation for the Filterer behavior. [PR #37]

Version 1.4.0 - Default support & true/false values in Bool filter

16 Apr 17:46
Compare
Choose a tag to compare

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

26 Feb 20:01
Compare
Choose a tag to compare

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

08 Jan 17:56
Compare
Choose a tag to compare

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

06 Dec 19:55
Compare
Choose a tag to compare

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

04 Dec 21:35
Compare
Choose a tag to compare

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!