PHP Classes

PHP Filter Data Component: Filter data got from a database or other sources

Recommend this page to a friend!
  Info   View files Example   View files View files (41)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-04-19 (24 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 41 All time: 10,339 This week: 73Up
Version License PHP version Categories
filter-component 1.0Custom (specified...5HTML, PHP 5, Databases
Description Author

This package can filter data obtained from a database or other sources.

It provides classes that allow defining rules for filtering data obtained from different data sources according to given rules.

The package supports data sources like SQL databases, arrays, or data objects accessed using Doctrine ORM.

It also allows using Web page components to define the parameters of the filters that the package may apply to the data sources.

Picture of Matous Nemec
Name: Matous Nemec <contact>
Classes: 7 packages by
Country: Czech Republic Czech Republic
Innovation award
Innovation award
Nominee: 1x

Details

Mesour Filter

Install

  • With Composer

    composer require mesour/filter

  • Or download source from GitHub

Tests

Run command vendor/bin/tester tests/ -s -c tests/php.ini --colors

Code style

Run command vendor/bin/phpcs --standard=ruleset.xml --extensions=php,phpt --encoding=utf-8 --tab-width=4 -sp src tests

  Files folder image Files  
File Role Description
Files folder imagedocs (1 file)
Files folder imageexamples (2 files)
Files folder imagesrc (1 directory)
Files folder imagetests (5 files, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file license.md Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file ruleset.xml Data Auxiliary data

  Files folder image Files  /  docs  
File Role Description
  Accessible without login Plain text file localisation.md Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file simple.php Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageMesour (2 directories)

  Files folder image Files  /  src  /  Mesour  
File Role Description
Files folder imageFilter (7 files, 2 directories)
Files folder imageUI (2 files)

  Files folder image Files  /  src  /  Mesour  /  Filter  
File Role Description
Files folder imageModal (1 file)
Files folder imageSources (6 files, 1 directory)
  Plain text file Date.php Class Class source
  Plain text file FilterItem.php Class Class source
  Plain text file IFilter.php Class Class source
  Plain text file IFilterItem.php Class Class source
  Plain text file ISimpleFilter.php Class Class source
  Plain text file Number.php Class Class source
  Plain text file Text.php Class Class source

  Files folder image Files  /  src  /  Mesour  /  Filter  /  Modal  
File Role Description
  Accessible without login Plain text file modalContent.latte Data Auxiliary data

  Files folder image Files  /  src  /  Mesour  /  Filter  /  Sources  
File Role Description
Files folder imageSearch (1 file)
  Plain text file ArrayFilterSource.php Class Class source
  Plain text file DateFunction.php Class Class source
  Plain text file DoctrineFilterSource.php Class Class source
  Plain text file IFilterSource.php Class Class source
  Plain text file NetteDbFilterSource.php Class Class source
  Plain text file SQLHelper.php Class Class source

  Files folder image Files  /  src  /  Mesour  /  Filter  /  Sources  /  Search  
File Role Description
  Plain text file SearchPatternsHelper.php Class Class source

  Files folder image Files  /  src  /  Mesour  /  UI  
File Role Description
  Plain text file Filter.php Class Class source
  Plain text file SimpleFilter.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageMesour (1 directory)
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script
  Accessible without login Plain text file config.php Aux. Auxiliary script
  Accessible without login Plain text file php.ini Data Auxiliary data
  Accessible without login Plain text file php.travis.ini Data Auxiliary data
  Accessible without login Plain text file run-tests.sh Data Auxiliary data

  Files folder image Files  /  tests  /  Mesour  
File Role Description
Files folder imageFilterTests (1 file, 3 directories)

  Files folder image Files  /  tests  /  Mesour  /  FilterTests  
File Role Description
Files folder imagedata (1 file)
Files folder imageMockRandomStrings (1 file)
Files folder imageSources (7 files)
  Plain text file DefaultRenderTest.phpt Class Class source

  Files folder image Files  /  tests  /  Mesour  /  FilterTests  /  data  
File Role Description
  Accessible without login HTML file DefaultRenderTestOutput.html Doc. Documentation

  Files folder image Files  /  tests  /  Mesour  /  FilterTests  /  MockRandomStrings  
File Role Description
  Plain text file DefaultRenderTestRandomString.php Class Class source

  Files folder image Files  /  tests  /  Mesour  /  FilterTests  /  Sources  
File Role Description
  Plain text file ArrayFilterSourceTest.phpt Class Class source
  Plain text file BaseArrayFilterSourceTest.php Class Class source
  Plain text file BaseDoctrineFilterSourceTest.php Class Class source
  Plain text file BaseNetteDbFilterSourceTest.php Class Class source
  Plain text file DataSourceChecker.php Class Class source
  Plain text file DoctrineFilterSourceTest.phpt Class Class source
  Plain text file NetteDbFilterSourceTest.phpt Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:41
This week:0
All time:10,339
This week:73Up
For more information send a message to info at phpclasses dot org.