{"id":13396049,"url":"https://github.com/yajra/laravel-datatables","last_synced_at":"2025-05-13T11:09:56.841Z","repository":{"id":12142481,"uuid":"14735403","full_name":"yajra/laravel-datatables","owner":"yajra","description":"jQuery DataTables API for Laravel","archived":false,"fork":false,"pushed_at":"2025-05-09T14:54:15.000Z","size":3475,"stargazers_count":4814,"open_issues_count":47,"forks_count":863,"subscribers_count":129,"default_branch":"master","last_synced_at":"2025-05-13T11:09:48.355Z","etag":null,"topics":["datatables","hacktoberfest","jquery","jquery-datatables","laravel","laravel-datatables","php"],"latest_commit_sha":null,"homepage":"https://yajrabox.com/docs/laravel-datatables","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/yajra.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","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,"zenodo":null},"funding":{"github":"yajra","patreon":"yajra","custom":"https://www.paypal.me/yajra"}},"created_at":"2013-11-27T02:31:18.000Z","updated_at":"2025-05-12T15:58:09.000Z","dependencies_parsed_at":"2024-06-18T10:37:10.554Z","dependency_job_id":"e8b69143-6d14-4dcd-a7e3-25ac7adbb102","html_url":"https://github.com/yajra/laravel-datatables","commit_stats":{"total_commits":1651,"total_committers":132,"mean_commits":"12.507575757575758","dds":0.2095699576014537,"last_synced_commit":"2e641c3a5d4414dc2b0fce89ab0c74d73fbf7eb3"},"previous_names":[],"tags_count":429,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Flaravel-datatables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Flaravel-datatables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Flaravel-datatables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yajra%2Flaravel-datatables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yajra","download_url":"https://codeload.github.com/yajra/laravel-datatables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929367,"owners_count":21985802,"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":["datatables","hacktoberfest","jquery","jquery-datatables","laravel","laravel-datatables","php"],"created_at":"2024-07-30T18:00:38.382Z","updated_at":"2025-05-13T11:09:56.793Z","avatar_url":"https://github.com/yajra.png","language":"PHP","funding_links":["https://github.com/sponsors/yajra","https://patreon.com/yajra","https://www.paypal.me/yajra","https://www.patreon.com/bePatron?u=4521203"],"categories":["Popular Packages","Popular/Notable Packages","PHP","其他( Miscellaneous )"],"sub_categories":[],"readme":"# jQuery DataTables API for Laravel\n\n[![Join the chat at https://gitter.im/yajra/laravel-datatables](https://badges.gitter.im/yajra/laravel-datatables.svg)](https://gitter.im/yajra/laravel-datatables?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg)](https://www.paypal.me/yajra)\n[![Donate](https://img.shields.io/badge/donate-patreon-blue.svg)](https://www.patreon.com/bePatron?u=4521203)\n\n[![Laravel 12](https://img.shields.io/badge/Laravel-12-orange.svg)](http://laravel.com)\n[![Latest Stable Version](https://img.shields.io/packagist/v/yajra/laravel-datatables-oracle.svg)](https://packagist.org/packages/yajra/laravel-datatables-oracle)\n[![Continuous Integration](https://github.com/yajra/laravel-datatables/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables/actions/workflows/continuous-integration.yml)\n[![Static Analysis](https://github.com/yajra/laravel-datatables/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables/actions/workflows/static-analysis.yml)\n\n[![Total Downloads](https://poser.pugx.org/yajra/laravel-datatables-oracle/d/total.svg)](https://packagist.org/packages/yajra/laravel-datatables-oracle)\n[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/yajra/laravel-datatables-oracle)\n\nLaravel package for handling [server-side](https://www.datatables.net/manual/server-side) works of [DataTables](http://datatables.net) jQuery Plugin via [AJAX option](https://datatables.net/reference/option/ajax) by using Eloquent ORM, Fluent Query Builder or Collection.\n\n```php\nuse Yajra\\DataTables\\Facades\\DataTables;\n\nreturn DataTables::eloquent(User::query())-\u003etoJson();\nreturn DataTables::query(DB::table('users'))-\u003etoJson();\nreturn DataTables::collection(User::all())-\u003etoJson();\n\nreturn DataTables::make(User::query())-\u003etoJson();\nreturn DataTables::make(DB::table('users'))-\u003etoJson();\nreturn DataTables::make(User::all())-\u003etoJson();\n```\n\n## Sponsors\n\n\u003ctable\u003e\n    \u003cbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e\u003cimg src=\"https://www.npmjs.com/npm-avatar/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdmF0YXJVUkwiOiJodHRwczovL3MuZ3JhdmF0YXIuY29tL2F2YXRhci9lZDQwMmM1NjY2YjJlNjUxMTIyOWE4ZjM0NDdkNWMzYT9zaXplPTEwMCZkZWZhdWx0PXJldHJvIn0.aWU-snChAWu9abJV3dtBo-iy-2v_7JAxXUN1UHL_pDQ\" width=\"50\" alt=\"DataTables Logo\"\u003e\u003c/td\u003e\n            \u003ctd\u003eA big thank you to \u003ca href=\"https://editor.datatables.net\"\u003eDataTables\u003c/a\u003e for supporting this project with a free DataTables Editor license.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/body\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n    \u003cbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e\u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" width=\"50\" alt=\"JetBrains Logo\"\u003e\u003c/td\u003e\n            \u003ctd\u003eA big thank you to \u003ca href=\"https://www.jetbrains.com\"\u003eJetBrains\u003c/a\u003e for supporting this project with free open-source licenses of their IDEs.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/body\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n    \u003cbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e\u003cimg src=\"https://i.imgur.com/zR8rsqk.png\" width=\"100\" alt=\"Blackfire.io Logo\"\u003e\u003c/td\u003e\n            \u003ctd\u003eA big thank you to \u003ca href=\"https://blackfire.io/docs/introduction?utm_source=laravel-datatables\u0026utm_medium=github_readme\u0026utm_campaign=logo\"\u003eBlackfire.io\u003c/a\u003e for supporting this project with a free open-source license.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/body\u003e\n\u003c/table\u003e\n\n## Requirements\n- [PHP \u003e= 8.2](http://php.net/)\n- [Laravel Framework](https://github.com/laravel/framework)\n- [DataTables](http://datatables.net/)\n\n## Documentations\n\n- [Github Docs](https://github.com/yajra/laravel-datatables-docs)\n- [Laravel DataTables Quick Starter](https://yajrabox.com/docs/laravel-datatables/master/quick-starter)\n- [Laravel DataTables Documentation](https://yajrabox.com/docs/laravel-datatables)\n\n## Laravel Version Compatibility\n\n| Laravel | Package  |\n|:--------|:---------|\n| 4.2.x   | 3.x      |\n| 5.0.x   | 6.x      |\n| 5.1.x   | 6.x      |\n| 5.2.x   | 6.x      |\n| 5.3.x   | 6.x      |\n| 5.4.x   | 7.x, 8.x |\n| 5.5.x   | 8.x      |\n| 5.6.x   | 8.x      |\n| 5.7.x   | 8.x      |\n| 5.8.x   | 9.x      |\n| 6.x     | 9.x      |\n| 7.x     | 9.x      |\n| 8.x     | 9.x      |\n| 9.x     | 10.x     |\n| 10.x    | 10.x     |\n| 11.x    | 11.x     |\n| 12.x    | 12.x     |\n\n## Quick Installation\n\n### Option 1: Install all DataTables libraries\n\n```bash\ncomposer require yajra/laravel-datatables:\"^12\"\n```\n\n### Option 2: Install only this library\n\n```bash\ncomposer require yajra/laravel-datatables-oracle:\"^12\"\n```\n\n#### Service Provider \u0026 Facade (Optional on Laravel 5.5+)\n\nRegister the provider and facade on your `config/app.php` file.\n```php\n'providers' =\u003e [\n    ...,\n    Yajra\\DataTables\\DataTablesServiceProvider::class,\n]\n\n'aliases' =\u003e [\n    ...,\n    'DataTables' =\u003e Yajra\\DataTables\\Facades\\DataTables::class,\n]\n```\n\n#### Configuration (Optional)\n\n```bash\nphp artisan vendor:publish --provider=\"Yajra\\DataTables\\DataTablesServiceProvider\"\n```\n\nAnd that's it! Start building out some awesome DataTables!\n\n## Debugging Mode\n\nTo enable debugging mode, just set `APP_DEBUG=true` and the package will include the queries and inputs used when processing the table.\n\n\u003e [!IMPORTANT]\n\u003e Please ensure that the `APP_DEBUG` config is set to false when your app is in production.\n\n## PHP ARTISAN SERVE BUG\n\nPlease avoid using `php artisan serve` when developing the package.\nThere are known bugs when using this where Laravel randomly returns a redirect and 401 (Unauthorized) if the route requires authentication and a 404 NotFoundHttpException on valid routes.\n\nIt is advised to use [Homestead](https://laravel.com/docs/5.4/homestead) or [Valet](https://laravel.com/docs/5.4/valet) when working with the package.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/yajra/laravel-datatables/blob/master/.github/CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security-related issues, please email [aqangeles@gmail.com](mailto:aqangeles@gmail.com) instead of using the issue tracker.\n\n## Credits\n\n- [Arjay Angeles](https://github.com/yajra)\n- [bllim/laravel4-datatables-package](https://github.com/bllim/laravel4-datatables-package)\n- [All Contributors](https://github.com/yajra/laravel-datatables/graphs/contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](https://github.com/yajra/laravel-datatables/blob/master/LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyajra%2Flaravel-datatables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyajra%2Flaravel-datatables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyajra%2Flaravel-datatables/lists"}