![]()
WARNING You're browsing the documentation for an upcoming version of Laravel DataTables. The documentation and features of this release are subject to change.
Fractal Plugin Installation
Installation
Run the following command in your project to get the latest version of the plugin:
composer require yajra/laravel-datatables-fractal:"^13.0"
Configuration
[!NOTE] This step is optional. The package works with default configuration out of the box.
Publish the configuration file:
php artisan vendor:publish --tag=datatables-fractal
See Also
- Response using Transformer - Learn how to transform DataTables responses using Fractal transformers
- Fractal Transformer Serializer - Configure custom serializers for Fractal transformers