{"id":17700412,"url":"https://github.com/maldoinc/doctrine-filter","last_synced_at":"2025-10-08T02:20:32.198Z","repository":{"id":48940863,"uuid":"332071749","full_name":"maldoinc/doctrine-filter","owner":"maldoinc","description":"Quickly add advanced filtering and sorting capabilities to resources in APIs or Web apps that use Doctrine.","archived":false,"fork":false,"pushed_at":"2024-04-21T10:41:51.000Z","size":161,"stargazers_count":57,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-10T05:32:41.980Z","etag":null,"topics":["doctrine","doctrine-orm","rest","rest-api","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maldoinc.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-22T21:58:44.000Z","updated_at":"2024-06-21T17:11:42.000Z","dependencies_parsed_at":"2024-04-11T21:26:18.994Z","dependency_job_id":"ea699ca7-a541-4718-8e69-9f1c50d1bc0c","html_url":"https://github.com/maldoinc/doctrine-filter","commit_stats":{"total_commits":151,"total_committers":2,"mean_commits":75.5,"dds":"0.0066225165562914245","last_synced_commit":"f665acb6acde048e9a4a17a5416874614d076715"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maldoinc%2Fdoctrine-filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maldoinc%2Fdoctrine-filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maldoinc%2Fdoctrine-filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maldoinc%2Fdoctrine-filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maldoinc","download_url":"https://codeload.github.com/maldoinc/doctrine-filter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230507051,"owners_count":18236944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["doctrine","doctrine-orm","rest","rest-api","symfony"],"created_at":"2024-10-24T17:42:07.929Z","updated_at":"2025-10-08T02:20:27.180Z","avatar_url":"https://github.com/maldoinc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# doctrine-filter\n\nQuickly add advanced filtering and sorting capabilities to any resource in your APIs or Web apps that use\nDoctrine.\n\n[![License](http://poser.pugx.org/maldoinc/doctrine-filter/license)](https://packagist.org/packages/maldoinc/doctrine-filter)\n[![PHP Version Require](http://poser.pugx.org/maldoinc/doctrine-filter/require/php)](https://packagist.org/packages/maldoinc/doctrine-filter)\n[![Version](http://poser.pugx.org/maldoinc/doctrine-filter/version)](https://packagist.org/packages/maldoinc/doctrine-filter)\n[![Unit tests](https://github.com/maldoinc/doctrine-filter/actions/workflows/tests.yml/badge.svg)](https://github.com/maldoinc/doctrine-filter)\n[![Lint](https://github.com/maldoinc/doctrine-filter/actions/workflows/quality-tools.yml/badge.svg)](https://github.com/maldoinc/doctrine-filter)\n\n###### Requirements\n\n* PHP \u003e= 7.4\n* Doctrine \u003e= 2.0\n\n---\n\n#### Examples\n\nProducts with a price range between 100 and 200\n\n```http \nGET /products?price[gte]=100\u0026price[lte]=200\n```\n\nUsers with a birthday after 1 Jan 2000\n\n```http\nGET /users?birthday[gte]=2000-01-01\n```\n\nUsers with an email ending with gmail.com\n\n```http\nGET /users?email[ends_with]=gmail.com\n```\n\nCustomers whose subscription field is null\n\n```http\nGET /customers?subscription[is_null]\n```\n\nUsers ordered by their last name in descending order\n\n```http\nGET /users?orderBy[lastName]=desc\n```\n\nFor this query only the status filter and order by id desc will be applied.\nAny keys not in the specified filter or orderBy format will be ignored\n\n```http\nGET /todos?status[eq]=done\u0026page=1\u0026perPage=10\u0026orderBy[id]=desc\n``` \n\n## Documentation\n\n[Read the documentation here](docs/index.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaldoinc%2Fdoctrine-filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaldoinc%2Fdoctrine-filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaldoinc%2Fdoctrine-filter/lists"}