PHPackages                             b2pweb/bdf-form-filter-prime - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. b2pweb/bdf-form-filter-prime

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

b2pweb/bdf-form-filter-prime
============================

Helper library for BDF Form to create Prime filters

v1.2.4(5mo ago)04.2k↓50%[1 PRs](https://github.com/b2pweb/bdf-form-filter-prime/pulls)MITPHPPHP ~7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 14Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/b2pweb/bdf-form-filter-prime)[ Packagist](https://packagist.org/packages/b2pweb/bdf-form-filter-prime)[ RSS](/packages/b2pweb-bdf-form-filter-prime/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (11)Used By (0)

Form filter for Prime
=====================

[](#form-filter-for-prime)

Helper library for BDF Form to create Prime filters.

[![build](https://github.com/b2pweb/bdf-form-filter-prime/actions/workflows/php.yml/badge.svg)](https://github.com/b2pweb/bdf-form-filter-prime/actions/workflows/php.yml)[![codecov](https://camo.githubusercontent.com/6322844fe96f55f4b7ffcab5c75050a40847bf5c3f58e73e5b063f33be6e8178/68747470733a2f2f636f6465636f762e696f2f6769746875622f6232707765622f6264662d666f726d2d66696c7465722d7072696d652f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d564f4653504557594b58)](https://app.codecov.io/github/b2pweb/bdf-form-filter-prime)[![Packagist Version](https://camo.githubusercontent.com/c5aa16c8266606f3eea6868a43c9d648cccff979d26e06490adc2013661d467d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6232707765622f6264662d666f726d2d66696c7465722d7072696d652e737667)](https://packagist.org/packages/b2pweb/bdf-form-filter-prime)[![Total Downloads](https://camo.githubusercontent.com/9689d560420a711e652c6139d1b88df0d23b27efa367076757f74b8a023ef508/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6232707765622f6264662d666f726d2d66696c7465722d7072696d652e737667)](https://packagist.org/packages/b2pweb/bdf-form-filter-prime)[![Type Coverage](https://camo.githubusercontent.com/d6a52c5636d79b0b62763a28e30a48cfa95a0d5f4d8b083e22dbb157c8db283b/68747470733a2f2f73686570686572642e6465762f6769746875622f6232707765622f6264662d666f726d2d66696c7465722d7072696d652f636f7665726167652e737667)](https://shepherd.dev/github/b2pweb/bdf-form-filter-prime)

See :

- [BDF Form](https://github.com/b2pweb/bdf-form)
- [Prime](https://github.com/b2pweb/bdf-prime)

Installation using composer
---------------------------

[](#installation-using-composer)

```
composer require b2pweb/bdf-form-filter-prime

```

Basic usage
-----------

[](#basic-usage)

To create a form filter, simply extends the class [`FilterForm`](src/FilterForm.php) and implements method `FilterForm::configureFilters()` :

```
