{"id":18060907,"url":"https://github.com/warcooft/codeigniter-search","last_synced_at":"2025-08-19T05:32:21.860Z","repository":{"id":257805808,"uuid":"865777513","full_name":"warcooft/codeigniter-search","owner":"warcooft","description":"Rapid Search for Codeigniter 4 framework","archived":false,"fork":false,"pushed_at":"2024-10-02T00:08:47.000Z","size":911,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-03T01:47:03.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/warcooft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-01T05:47:18.000Z","updated_at":"2024-10-06T12:53:01.000Z","dependencies_parsed_at":"2024-10-01T08:41:31.739Z","dependency_job_id":"2ae8c4ff-4928-4f1c-9aba-738747058fc9","html_url":"https://github.com/warcooft/codeigniter-search","commit_stats":null,"previous_names":["warcooft/codeigniter-search"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fcodeigniter-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fcodeigniter-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fcodeigniter-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warcooft%2Fcodeigniter-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warcooft","download_url":"https://codeload.github.com/warcooft/codeigniter-search/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230326475,"owners_count":18209040,"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-10-31T04:22:11.115Z","updated_at":"2025-08-19T05:32:21.851Z","avatar_url":"https://github.com/warcooft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeigniter Search\nRapid Search for Codeigniter 4 framework\n\n![CodeIgniter](https://img.shields.io/badge/CodeIgniter-%5E4.4.8-blue)\n![PHP Version Require](https://img.shields.io/badge/PHP-%5E8.0-blue)\n\n## Installation\n\n```\ncomposer require aselsan/search\n```\n\n## Usage\n`use SearchTrait` in your model, as follows:\n```php\n\u003c?php\n\nnamespace App\\Models;\n\nuse CodeIgniter\\Model;\n\nclass UserModel extends Model\n{\n    use SearchTrait; //Add this\n\n    // Optional properties\n    protected $search = ['first_name', 'last_name'];\n```\n\nSomewhere in your controller\n\n```php\n$keyword = \"jhon doe\";\n\n// Match any fields\nmodel(UserModel::class)-\u003esearch($keyword)-\u003epaginate();\n\n// Match all fields\nmodel(UserModel::class)-\u003esearch($keyword)-\u003epaginate();\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarcooft%2Fcodeigniter-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarcooft%2Fcodeigniter-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarcooft%2Fcodeigniter-search/lists"}