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
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
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
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup
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