{"id":16467194,"url":"https://github.com/alkhatibdev/inertia-pagination","last_synced_at":"2026-03-18T19:51:55.303Z","repository":{"id":210123246,"uuid":"725790726","full_name":"alkhatibdev/inertia-pagination","owner":"alkhatibdev","description":"Laravel Inertia Pagination, is a Laravel package for generating inertia pagination vue component, designed with TailwindCSS.","archived":false,"fork":false,"pushed_at":"2023-11-30T23:17:22.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T17:33:48.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/alkhatibdev.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}},"created_at":"2023-11-30T22:03:51.000Z","updated_at":"2023-12-04T13:59:01.000Z","dependencies_parsed_at":"2023-11-30T23:40:28.272Z","dependency_job_id":null,"html_url":"https://github.com/alkhatibdev/inertia-pagination","commit_stats":null,"previous_names":["alkhatibdev/inertia-pagination"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/alkhatibdev/inertia-pagination","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkhatibdev%2Finertia-pagination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkhatibdev%2Finertia-pagination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkhatibdev%2Finertia-pagination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkhatibdev%2Finertia-pagination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alkhatibdev","download_url":"https://codeload.github.com/alkhatibdev/inertia-pagination/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alkhatibdev%2Finertia-pagination/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28806509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T06:25:51.065Z","status":"ssl_error","status_checked_at":"2026-01-27T06:25:50.640Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-11T11:46:32.238Z","updated_at":"2026-01-27T06:36:05.415Z","avatar_url":"https://github.com/alkhatibdev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Inertia Pagination\n\n[![Latest Version](https://img.shields.io/github/release/alkhatibdev/inertia-pagination.svg?style=flat-square)](https://github.com/alkhatibdev/inertia-pagination/releases)\n[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n\n## Introduction\nLaravel Inertia Pagination, is a Laravel package for generating inertia pagination vue component, designed with TailwindCSS.\n\n## Installation\n\ninstall via composer\n\n```shell\ncomposer require alkhatibdev/inertia-pagination\n```\n\n## Publish \n```shell\nphp artisan vendor:publish --tag=inertia-pagination\n```\n\n## Usage\n\nAssume this is your inertia response:\n```php\n// App\\Http\\Controllers\\PostController\n\npublic function index() \n{\n    return Inertia::render('Post/Index', [\n        'posts' =\u003e Post::select([\n            \"id\", \"title\", \"description\"\n        ])-\u003epaginate(10),\n    ]);\n}\n```\nWithin your inertia page, just import `IPagination` vue component, then pass your paginated collection links to it.\n\n```js\n// resources/js/Pages/Post/Index.vue \n\n\u003cscript setup\u003e\n    import IPagination from '@/Components/vendor/InertiaPagination/IPagination.vue'\n\n    defineProps({\n        posts: Object\n    })\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n    ...\n        \u003cdiv v-for=\"post in posts.data\" :key=\"post.id\"\u003e...\u003c/div\u003e\n\n        \u003c!-- Use component here, and pass the links array --\u003e\n        \u003cIPagination :links=\"posts.links\" /\u003e\n    \n    ...\n\u003c/template\u003e\n```\n\n## Customization\nComing soon..\n\n## License\nLanguage Switcher is open-sourced software licensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkhatibdev%2Finertia-pagination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falkhatibdev%2Finertia-pagination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falkhatibdev%2Finertia-pagination/lists"}