Download the PHP package letkode/query-filter-bundle without Composer
On this page you can find all versions of the php package letkode/query-filter-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download letkode/query-filter-bundle
More information about letkode/query-filter-bundle
Files in letkode/query-filter-bundle
Package query-filter-bundle
Short Description Query, filter and pagination DTOs for Symfony applications
License MIT
Informations about the package query-filter-bundle
letkode/query-filter-bundle
Query, filter and pagination DTOs for Symfony applications. Framework-agnostic beyond symfony/validator — usable in table listings, dashboards or any other query/filter surface.
Installation
Symfony Flex will register the bundle automatically. If not using Flex, add it manually:
Filter/
FilterCriteria
A single resolved filter condition.
FilterInput
Declares how a filterable field should be typed and cast.
$input->type is a FilterCastType enum (Text, Bool, Int, Float, Number, Date, ArrayType), which owns the casting rule via $input->type->cast($value).
FilterQuery
Parses raw filter arrays (as sent by a frontend) into a ParsedFilterQuery:
->criteria holds the well-formed list<FilterCriteria>, ->rejected holds a
list<QueryParameterRejection> for entries that were structurally malformed
(value not an array, entry not an array, missing/non-string op).
Request/
FilterQueryStringRequest
Validated DTO to bind directly from a query string.
FilterQueryRequest
Normalized query: page, perPage, search term, sort, direction and parsed filters.
Factory/
FilterQueryRequestFactory
Builds a FilterQueryRequest from a validated FilterQueryStringRequest.
Result/
PaginatedResultRepository
Returned by the repository layer: the paginated data plus its pagination metadata.
Response/
PaginationValueResponse
Pagination metadata only, without the data — for API responses that expose pagination separately from the result set.
Requirements
- PHP
^8.4 - Symfony
^7.0 || ^8.0(symfony/validator)
License
MIT — see LICENSE.
All versions of query-filter-bundle with dependencies
symfony/dependency-injection Version ^7.0 || ^8.0
symfony/http-kernel Version ^7.0 || ^8.0
symfony/validator Version ^7.0 || ^8.0