{"id":22397175,"url":"https://github.com/putyourlightson/craft-sift","last_synced_at":"2025-07-11T12:41:28.973Z","repository":{"id":57045975,"uuid":"224420357","full_name":"putyourlightson/craft-sift","owner":"putyourlightson","description":"Sift plugin for Craft CMS 3.","archived":false,"fork":false,"pushed_at":"2020-06-04T08:27:13.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T23:22:34.270Z","etag":null,"topics":[],"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/putyourlightson.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}},"created_at":"2019-11-27T11:58:00.000Z","updated_at":"2023-12-12T02:14:06.000Z","dependencies_parsed_at":"2022-08-24T04:50:32.377Z","dependency_job_id":null,"html_url":"https://github.com/putyourlightson/craft-sift","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/putyourlightson/craft-sift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-sift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-sift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-sift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-sift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/putyourlightson","download_url":"https://codeload.github.com/putyourlightson/craft-sift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-sift/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264810359,"owners_count":23667503,"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":[],"created_at":"2024-12-05T06:11:09.712Z","updated_at":"2025-07-11T12:41:28.895Z","avatar_url":"https://github.com/putyourlightson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sift Plugin for Craft CMS 3\n\nA plugin for Craft CMS 3 that filters entries/categories/submissions that can be selected to only those that match a user's categories.\n\n## Requirements\n\nCraft CMS 3.0.0 or later.\n\n## Installation\n\nInstall the plugin using composer.\n\n```\ncomposer require putyourlightson/craft-sift\n```\n\n## Configuration\n\nCopy the `src/config.php` config file to `craft/config` as `sift.php`, adding the entry field handles and the associated user field handles.\n```php\nreturn [\n    '*' =\u003e [\n        /**\n         * The field handles to sift by for entry queries\n         */\n        'entryFieldHandles' =\u003e [\n            'entryFieldHandleA' =\u003e 'userFieldHandleA',\n            'entryFieldHandleB' =\u003e 'userFieldHandleB',\n        ],\n    ],\n];\n```\n\n## Fieldtype\n\nThe plugin adds a _Read-only Categories_ fieldtype that is visible to all users but that only admins can edit.\n\n## License\n\nThis plugin is licensed for free under the MIT License.\n\n\u003csmall\u003eCreated by [PutYourLightsOn](https://putyourlightson.com/).\u003c/small\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-sift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputyourlightson%2Fcraft-sift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-sift/lists"}