{"id":19422851,"url":"https://github.com/dutchcodingcompany/cursor-pagination","last_synced_at":"2025-06-25T10:33:19.707Z","repository":{"id":56973385,"uuid":"275099034","full_name":"DutchCodingCompany/cursor-pagination","owner":"DutchCodingCompany","description":"Cursor pagination for Laravel","archived":false,"fork":false,"pushed_at":"2020-06-26T10:08:41.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T10:34:41.807Z","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/DutchCodingCompany.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-26T07:32:58.000Z","updated_at":"2020-12-13T19:30:30.000Z","dependencies_parsed_at":"2022-08-21T10:20:16.980Z","dependency_job_id":null,"html_url":"https://github.com/DutchCodingCompany/cursor-pagination","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fcursor-pagination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fcursor-pagination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fcursor-pagination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DutchCodingCompany%2Fcursor-pagination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DutchCodingCompany","download_url":"https://codeload.github.com/DutchCodingCompany/cursor-pagination/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240601783,"owners_count":19827401,"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-11-10T13:35:30.591Z","updated_at":"2025-02-25T04:27:53.331Z","avatar_url":"https://github.com/DutchCodingCompany.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Very short description of the package\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/dutchcodingcompany/cursor-pagination.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/cursor-pagination)\n[![Build Status](https://img.shields.io/travis/dutchcodingcompany/cursor-pagination/master.svg?style=flat-square)](https://travis-ci.org/dutchcodingcompany/cursor-pagination)\n[![Quality Score](https://img.shields.io/scrutinizer/g/dutchcodingcompany/cursor-pagination.svg?style=flat-square)](https://scrutinizer-ci.com/g/dutchcodingcompany/cursor-pagination)\n[![Total Downloads](https://img.shields.io/packagist/dt/dutchcodingcompany/cursor-pagination.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/cursor-pagination)\n\nThis Laravel package brings cursor based pagination support to Laravel and [Lighthouse](https://github.com/nuwave/lighthouse) in particular.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require dutchcodingcompany/cursor-pagination\n```\n\n## Usage\n\n### GraphQL\nAdd `'DutchCodingCompany\\\\CursorPagination\\\\Directives'` to config/lighthouse.php under  \n```\nnamespaces =\u003e [\n   'directives' =\u003e ['DutchCodingCompany\\\\CursorPagination\\\\Directives']\n]\n```\n### Builder\nCall `cursorPaginate()` on an Eloquent or Query Builder\n``` php\nUser::orderBy('updated_at', 'asc')-\u003ecursorPaginate($limit);\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email m@rcoboe.rs instead of using the issue tracker.\n\n## Credits\n\n- [Marco Boers](https://github.com/dutchcodingcompany)\n- [Dutch Coding Company](https://github.com/DutchCodingCompany)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcodingcompany%2Fcursor-pagination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutchcodingcompany%2Fcursor-pagination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcodingcompany%2Fcursor-pagination/lists"}