Package

Yajra Laravel Datatables Fractal

Laravel DataTables Fractal Plugin.

Package

yajra/laravel-datatables-fractal

View on GitHub →

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.

Yajra Laravel Datatables Fractal Related Articles

Lumen and Fractal image

Lumen and Fractal

Read article
Laratables: Ajax support of DataTables in Laravel image

Laratables: Ajax support of DataTables in Laravel

Read article
Laravel DataTables Bundle image

Laravel DataTables Bundle

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
The Artisan Files: Sara Bine image

The Artisan Files: Sara Bine

Read article
Backpack v7 is Launched - See What's New image

Backpack v7 is Launched - See What's New

Read article

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum