Laravel Datatables Fractal
Laravel Datatables Fractal stats
- Downloads
- 3.1M
- Stars
- 94
- Open Issues
- 1
- Forks
- 18
Laravel DataTables Fractal Plugin.
Laravel DataTables Fractal Plugin Summary
The Laravel DataTables Fractal Plugin is a powerful extension for the Laravel DataTables package, designed to transform server-side responses using Fractal. This integration facilitates the management and delivery of complex data structures in an efficient and scalable manner.
Key Features
- Integration with Fractal: Allows for the transformation of data output from Laravel DataTables through Fractal, which is great for working with API responses.
- Support for Laravel 10.x: Compatible with the latest versions of Laravel, ensuring modern applications can leverage its capabilities.
- Easy Installation: Can be quickly installed via Composer, and includes optional publishing of configurations and assets.
Installation
Install the package with Composer:
composer require yajra/laravel-datatables-fractal
Optional Configuration
For Laravel 5.5 and above, the service provider is auto-registered. For older versions, manually register it in your config/app.php:
Yajra\DataTables\FractalServiceProvider::class
To publish the configuration and assets, use:
php artisan vendor:publish --tag=datatables-fractal --force
Usage
After installation, start using it to enhance your DataTables with advanced response transformations using Fractal, making data handling more robust and flexible.
Documentation
For more detailed documentation, visit the official documentation page.
Compatibility
The package maintains compatibility with multiple versions of Laravel:
- Laravel 8.x and below: version 1.x of the package
- Laravel 9.x: version 9.x of the package
- Laravel 10.x: version 10.x of the package
Contributing and Support
Contributions are welcome, and for security issues, contact directly via email. Full details are available in the package's GitHub repository.
This summary provides a concise overview of the Laravel DataTables Fractal Plugin, outlining its primary functionalities, installation process, and usage within Laravel applications. For developers looking to refine data handling and presentation in their Laravel projects, this package is a valuable addition.