https://github.com/yajra/laravel-datatables-fractal
Laravel DataTables Fractal Plugin.
https://github.com/yajra/laravel-datatables-fractal
api datatables datatables-plugin fractal laravel
Last synced: about 2 months ago
JSON representation
Laravel DataTables Fractal Plugin.
- Host: GitHub
- URL: https://github.com/yajra/laravel-datatables-fractal
- Owner: yajra
- License: mit
- Created: 2017-06-30T06:21:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T06:16:41.000Z (about 1 year ago)
- Last Synced: 2024-10-17T19:22:46.714Z (7 months ago)
- Topics: api, datatables, datatables-plugin, fractal, laravel
- Language: PHP
- Size: 68.4 KB
- Stars: 95
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel DataTables Fractal Plugin
[](http://laravel.com)
[](https://packagist.org/packages/yajra/laravel-datatables-fractal)
[](https://github.com/yajra/laravel-datatables-fractal/actions/workflows/continuous-integration.yml)
[](https://scrutinizer-ci.com/g/yajra/laravel-datatables-fractal/?branch=master)
[](https://packagist.org/packages/yajra/laravel-datatables-fractal)
[](https://packagist.org/packages/yajra/laravel-datatables-fractal)This package is a plugin of [Laravel DataTables](https://github.com/yajra/laravel-datatables) for transforming server-side response using [Fractal](https://github.com/thephpleague/fractal).
## Requirements
- [PHP >= 8.2](http://php.net/)
- [Laravel 12.x](https://github.com/laravel/framework)
- [Laravel DataTables](https://github.com/yajra/laravel-datatables)## Documentations
- [Laravel DataTables Fractal Documentation](https://yajrabox.com/docs/laravel-datatables/master/response-fractal)
## Laravel Version Compatibility
| Laravel | Package |
|:--------------|:--------|
| 8.x and below | 1.x |
| 9.x | 9.x |
| 10.x | 10.x |
| 11.x | 11.x |
| 12.x | 12.x |## Quick Installation
`composer require yajra/laravel-datatables-fractal:^12.0`
### Register Service Provider (Optional on Laravel 5.5+)
`Yajra\DataTables\FractalServiceProvider::class`
### Configuration and Assets (Optional)
`$ php artisan vendor:publish --tag=datatables-fractal --force`
And that's it! Start building out some awesome DataTables!
## Contributing
Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables-fractal/blob/master/.github/CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email [[email protected]](mailto:[email protected]) instead of using the issue tracker.
## Credits
- [Arjay Angeles](https://github.com/yajra)
- [All Contributors](https://github.com/yajra/laravel-datatables-fractal/graphs/contributors)## License
The MIT License (MIT). Please see [License File](https://github.com/yajra/laravel-datatables-fractal/blob/master/LICENSE.md) for more information.