PHPackages                             ahmedzidan/laravel-datatables-fractal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ahmedzidan/laravel-datatables-fractal

ActiveLibrary[API Development](/categories/api)

ahmedzidan/laravel-datatables-fractal
=====================================

Laravel DataTables Fractal Plugin.

3.1.1(7y ago)023MITPHPPHP &gt;=7.2

Since Aug 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ahmedfathi1/laravel-datatables-fractal)[ Packagist](https://packagist.org/packages/ahmedzidan/laravel-datatables-fractal)[ RSS](/packages/ahmedzidan-laravel-datatables-fractal/feed)WikiDiscussions 1.0 Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (10)Used By (0)

Laravel DataTables Fractal Plugin
=================================

[](#laravel-datatables-fractal-plugin)

[![Laravel 5.4+](https://camo.githubusercontent.com/ce8647094669e876640e2c620bc4ad5c34aa337b315227555b70cad01d6113a5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e342b2d6f72616e67652e737667)](http://laravel.com)[![Latest Stable Version](https://camo.githubusercontent.com/0436339626aff04d66dd42e50d6d023b21826df9bcad2b98b54fb58e5d4a765f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616a72612f6c61726176656c2d646174617461626c65732d6672616374616c2e737667)](https://packagist.org/packages/yajra/laravel-datatables-fractal)[![Build Status](https://camo.githubusercontent.com/91ced29f9dcb7aa2ac8c9bedf1f4bd395b90f39b35b537e8c3b2f157c7645551/68747470733a2f2f7472617669732d63692e6f72672f79616a72612f6c61726176656c2d646174617461626c65732d6672616374616c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yajra/laravel-datatables-fractal)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/82b961920d6fcc23b2fd0a251c2657a47f10ec599e974a5b98df0d787e7a061e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f79616a72612f6c61726176656c2d646174617461626c65732d6672616374616c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yajra/laravel-datatables-fractal/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/16b93dc59eb36254bda5040bde66f0097251073f716179f82d79a8bcec6f469b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616a72612f6c61726176656c2d646174617461626c65732d6672616374616c2e737667)](https://packagist.org/packages/yajra/laravel-datatables-fractal)[![License](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/yajra/laravel-datatables-fractal)

This package is a plugin of [Laravel DataTables](https://github.com/yajra/laravel-datatables) for transforming server-side response using [Fractal](https://github.com/thephpleague/fractal).

Requirements
------------

[](#requirements)

- [PHP &gt;=7.2](http://php.net/)
- [Laravel 5.4+](https://github.com/laravel/framework)
- [Laravel DataTables v9.x](https://github.com/yajra/laravel-datatables)

Documentations
--------------

[](#documentations)

- [Laravel DataTables Fractal Documentation](https://yajrabox.com/docs/laravel-datatables/master/response-fractal)

Quick Installation
------------------

[](#quick-installation)

`composer require yajra/laravel-datatables-fractal:^1.3`

### Register Service Provider (Optional on Laravel 5.5+)

[](#register-service-provider-optional-on-laravel-55)

`Yajra\DataTables\FractalServiceProvider::class`

### Configuration and Assets (Optional)

[](#configuration-and-assets-optional)

`$ php artisan vendor:publish --tag=datatables-fractal --force`

And that's it! Start building out some awesome DataTables!

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables-fractal/blob/master/.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Arjay Angeles](https://github.com/yajra)
- [All Contributors](https://github.com/yajra/laravel-datatables-fractal/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/yajra/laravel-datatables-fractal/blob/master/LICENSE.md) for more information.

Buy me a coffee
---------------

[](#buy-me-a-coffee)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.me/yajra)[![Become a Patron](https://camo.githubusercontent.com/bc101c1d13e9c8f6ab92026eb037a37dc71f582e7c14f2f8ddce7503a3f05a64/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f70617472656f6e5f7075626c69635f6173736574732f746f6f6c626f782f70617472656f6e2e706e67)](https://www.patreon.com/bePatron?u=4521203)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~84 days

Total

9

Last Release

2628d ago

Major Versions

v1.3.0 → 3.1.12019-03-03

PHP version history (2 changes)v1.0.0PHP &gt;=7.0

3.1.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2565fae9720ee446b57d1bcc550ceb31f1d223448b6bffd9670eedf1d964e079?d=identicon)[ahmedzidan](/maintainers/ahmedzidan)

---

Top Contributors

[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (31 commits)")[![yusufkandemir](https://avatars.githubusercontent.com/u/6266078?v=4)](https://github.com/yusufkandemir "yusufkandemir (7 commits)")[![AFZidan](https://avatars.githubusercontent.com/u/4643935?v=4)](https://github.com/AFZidan "AFZidan (4 commits)")[![paytechildiko](https://avatars.githubusercontent.com/u/30797895?v=4)](https://github.com/paytechildiko "paytechildiko (2 commits)")[![redredimano](https://avatars.githubusercontent.com/u/135292528?v=4)](https://github.com/redredimano "redredimano (1 commits)")[![ivanfernz](https://avatars.githubusercontent.com/u/33168779?v=4)](https://github.com/ivanfernz "ivanfernz (1 commits)")[![c00p3r](https://avatars.githubusercontent.com/u/5259532?v=4)](https://github.com/c00p3r "c00p3r (1 commits)")

---

Tags

apilaraveldatatablesfractal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ahmedzidan-laravel-datatables-fractal/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedzidan-laravel-datatables-fractal/health.svg)](https://phpackages.com/packages/ahmedzidan-laravel-datatables-fractal)
```

###  Alternatives

[yajra/laravel-datatables-fractal

Laravel DataTables Fractal Plugin.

966.9M29](/packages/yajra-laravel-datatables-fractal)[spatie/laravel-fractal

An easy to use Fractal integration for Laravel applications

1.9k15.1M99](/packages/spatie-laravel-fractal)[flugger/laravel-responder

A Laravel Fractal package for building API responses, giving you the power of Fractal and the elegancy of Laravel.

8901.5M5](/packages/flugger-laravel-responder)[cyvelnet/laravel5-fractal

A simple fractal service provider and transformer generator with model attributes for laravel &gt;=5.

79187.2k1](/packages/cyvelnet-laravel5-fractal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
