Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Laravel Datatables Fractal

yajra/laravel-datatables-fractal image

Laravel Datatables Fractal stats

Downloads
3.1M
Stars
94
Open Issues
1
Forks
18

View on GitHub →

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.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Yajra Laravel Datatables Fractal Related Articles

Laravel 5.5 Responsable Interface for Responses image

Laravel 5.5 Responsable Interface for Responses

Read article
What is the one package you install in all Laravel projects? image

What is the one package you install in all Laravel projects?

Read article
Lumen and Fractal image

Lumen and Fractal

Read article
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
CodeKudu logo

CodeKudu

Stand-ups, Retrospectives, and 360° Feedback for the entire team. 50% off with code LARAVELNEWS.

CodeKudu