spatie/query-string
Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| onemustcode/query | 0.86 | — | 4 | 4 | 2 | 346 | 5 | 4.4 | 26.5 | MIT | 8 years ago | |
| crwlr/query-string | 0.86 | — | 20 | 21 | 3 | 361K | 0 | 1.4 | 55.3 | MIT | 3 years ago | |
| ghostcompiler/laravel-querybuilder | 0.83 | API-ready Eloquent query builder for Laravel with strict allow-lists for filters, sorts, includes, and sparse fields. Supports nested relation filters/sorting, custom filters, tenant scoping, safe public query interfaces, and pagination helpers for clean API responses. | 18 | 18 | 1 | 1 | 0 | 16.0 | 0.4 | MIT | 3 months ago | |
| citizen63000/easy-api-core | 0.83 | — | 0 | 0 | 1 | 1 | 0 | 21.5 | 4.9 | MIT | 1 month ago | |
| denisok94/helper | 0.83 | A small Laravel/PHP helper package providing convenience functions to speed up everyday development tasks. Useful for common utilities and shortcuts so you can reduce boilerplate across projects. | 1 | 1 | 0 | 2 | 0 | 27.4 | 4.9 | BSD-3-Clause | 2 months ago | |
| guzzlehttp/uri-template | 0.83 | RFC 6570 URI Template expansion for PHP. Build URLs by substituting variables into templates, handling reserved characters, query strings, and fragments. Lightweight Guzzle component installable via Composer, with tests and changelog included. | 197 | 197 | 8 | 13M | 0 | 24.1 | 64.2 | MIT | 4 weeks ago | |
| spatie/laravel-query-builder | 0.83 | Build safe, flexible Eloquent queries from incoming API requests. Supports whitelisted filtering (partial/exact/scope/custom), sorting, includes, field selection, pagination, and grouped AND/OR filters—ideal for JSON:API-style endpoints with minimal boilerplate. | 4,465 | 4,480 | 421 | 2M | 0 | 66.2 | 40.8 | MIT | 1 month ago | |
| yansongda/supports | 0.82 | — | 21 | 21 | 18 | 23K | 0 | 2.1 | 41.6 | MIT | 5 years ago | |
| sweetchuck/utils | 0.82 | Utility helpers for PHP projects: small, reusable classes and functions aimed at simplifying common tasks and reducing boilerplate. Includes tested code with CI and coverage badges. Suitable as a lightweight dependency for general-purpose apps and libraries. | 1 | 1 | 0 | 2K | 2 | 2.3 | 40.2 | — | 5 years ago | |
| hyperf/stringable | 0.82 | — | 0 | 0 | 0 | 44K | 0 | 27.4 | 64.1 | MIT | 3 months ago | |
| spatie/url | 0.82 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 741 | 754 | 60 | 537K | 0 | 12.4 | 39.5 | MIT | 2 years ago | |
| spatie/string | 0.81 | Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer. | 559 | 570 | 26 | 15K | 0 | 23.6 | 22.4 | MIT | 5 months ago | |
| spatie/fractalistic | 0.79 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 385 | 386 | 33 | 307K | 0 | 21.9 | 43.6 | MIT | 7 months ago | |
| spatie/packagist-api | 0.78 | Search Packagist and fetch package details via the official Packagist API. Provides a simple PackagistClient built on Guzzle with a URL generator, plus helpers to list all packages or filter by vendor/type, and browse popular packages with pagination. | 132 | 135 | 23 | 134K | 0 | 24.6 | 48.5 | MIT | 1 month ago | |
| league/uri-components | 0.78 | Immutable value objects for URI components (host, path, query, etc.) from The PHP League. PHP 8.1+. Supports IDN hosts (intl or polyfill) and IPv4 conversion (GMP/BCMath/64-bit). Built atop league/uri, uri-interfaces, and PSR-7. | 320 | 324 | 5 | 3M | 0 | 23.6 | 61.2 | MIT | 6 months ago | |
| yiisoft/strings | 0.77 | Yii Strings provides fast, multibyte-safe string utilities for PHP: StringHelper and NumericHelper, Inflector (pluralize, slug), wildcard pattern matching, and optimized combined regex matching with optional memoization. | 49 | 51 | 18 | 90K | 4 | 10.0 | 48.0 | BSD-3-Clause | 9 months ago |
How can I help you explore Laravel packages today?