Skip to content

Releases: particle-php/Filter

v0.6.0

12 Jun 15:43
Compare
Choose a tag to compare
  • Added letters() filter-rule that strips everything but letters from the value
  • Added alnum() filter-rule that strips everything but alphabetic numeric characters from the value
  • Updated documentation to use a name that should not agitate anyone
  • Some small development additions

v0.5.0

09 Jun 08:27
Compare
Choose a tag to compare

@skoop added a numbers filter, that grabs all numbers from the value, dropping anything else.

v0.4.0

07 Jun 10:31
Compare
Choose a tag to compare

Added ability to filter on sub-arrays using dot-notation in the target-keys.

v0.3.0

04 Jun 18:59
Compare
Choose a tag to compare
  • Documentation is added
  • @renatomefidf made sure Particle\Filter is ready for PHP7
  • Gitattributes is added to clean-up composer installations

v0.2.1

01 Jun 13:22
Compare
Choose a tag to compare

@localheinz introduced PSR-4 to clean up our directory structure.

v0.2.0

29 May 11:52
Compare
Choose a tag to compare

This release introduces the ability to add filters on multiple array keys at the same time.

v0.1.0

28 May 21:33
Compare
Choose a tag to compare

Initial release of Particle\Filter

In this version you can:

  • Filter an array of values per key or all at once
  • Get a cleaned array after filtering

Included filters:

  • append
  • bool
  • callback
  • float
  • int
  • lower
  • prepend
  • regexReplace
  • replace
  • string
  • stripHtml
  • trim
  • upper
  • upperFirst