{"id":19689131,"url":"https://github.com/abbasudo/laravel-purity","last_synced_at":"2026-04-02T12:36:37.497Z","repository":{"id":91704414,"uuid":"603931433","full_name":"abbasudo/laravel-purity","owner":"abbasudo","description":"An elegant way to filter and sort queries in Laravel","archived":false,"fork":false,"pushed_at":"2025-05-16T16:22:15.000Z","size":1352,"stargazers_count":511,"open_issues_count":20,"forks_count":56,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-11-15T00:18:24.497Z","etag":null,"topics":["eloquent","filter","filtering","filters","laravel","mysql","php","queries","sort","sql"],"latest_commit_sha":null,"homepage":"https://abbasudo.github.io/laravel-purity/?utm_source=github\u0026utm_medium=about","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/abbasudo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":null,"patreon":"abbasudo"}},"created_at":"2023-02-20T00:52:05.000Z","updated_at":"2025-10-30T05:54:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"1785e509-efd5-48e7-83dc-8d8b72e82a77","html_url":"https://github.com/abbasudo/laravel-purity","commit_stats":{"total_commits":124,"total_committers":5,"mean_commits":24.8,"dds":"0.25806451612903225","last_synced_commit":"787b1de4ad15d3623b27a6029de07fe5bb4f9077"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/abbasudo/laravel-purity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbasudo%2Flaravel-purity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbasudo%2Flaravel-purity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbasudo%2Flaravel-purity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbasudo%2Flaravel-purity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abbasudo","download_url":"https://codeload.github.com/abbasudo/laravel-purity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abbasudo%2Flaravel-purity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27700498,"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","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["eloquent","filter","filtering","filters","laravel","mysql","php","queries","sort","sql"],"created_at":"2024-11-11T18:42:54.149Z","updated_at":"2025-12-13T05:06:16.642Z","avatar_url":"https://github.com/abbasudo.png","language":"PHP","funding_links":["https://patreon.com/abbasudo"],"categories":["PHP"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/abbasudo/laravel-purity/raw/master/art/purity-logo.png\" alt=\"Social Card of Laravel Purity\"\u003e\n  \u003ch1 align=\"center\"\u003eElegant way to filter and sort queries in Laravel\u003c/h1\u003e\n\u003c/p\u003e\n\n[![Tests](https://github.com/abbasudo/laravel-purity/actions/workflows/tests.yml/badge.svg)](https://github.com/abbasudo/laravel-purity/actions/workflows/tests.yml)\n[![License](http://poser.pugx.org/abbasudo/laravel-purity/license)](https://github.com/abbasudo/laravel-purity)\n[![Latest Unstable Version](http://poser.pugx.org/abbasudo/laravel-purity/v)](https://packagist.org/packages/abbasudo/laravel-purity)\n[![PHP Version Require](http://poser.pugx.org/abbasudo/laravel-purity/require/php)](https://packagist.org/packages/abbasudo/laravel-purity)\n[![StyleCI](https://github.styleci.io/repos/603931433/shield)](https://packagist.org/packages/abbasudo/laravel-purity)\n\nLaravel Purity is an elegant and yet simple filtering and sorting package for Laravel,\ndesigned to simplify complex data filtering and sorting logic for eloquent queries.\nBy simply adding `filter()` to your Eloquent query,\nyou can add the ability for frontend users to apply filters based on URL query string parameters like a breeze.\n\n## How Does Purity Work?\nHere is a basic usage example to clarify Purity's use case.\n\nAdd `filter()` to your query.\n```php\n$posts = Post::filter()-\u003eget();\n```\nThat's it!\nNow you can filter your posts by adding query string parameters to the URL.\n```\nGET /api/posts?filters[title][$contains]=Purity\n```\nread more at official [documentations](https://abbasudo.github.io/laravel-purity/)\n\n## Documentation\nhttps://abbasudo.github.io/laravel-purity/\n\n## License\n\nLaravel Purity is Licensed under The MIT License (MIT). Please see [License File](https://github.com/abbasudo/laravel-purity/blob/master/LICENSE) for more information.\n\n## Security\n\nIf you've found a bug regarding security, please mail [amkhzomi@gmail.com](mailto:amkhzomi@gmail.com) instead of\nusing the issue tracker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbasudo%2Flaravel-purity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabbasudo%2Flaravel-purity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabbasudo%2Flaravel-purity/lists"}