PHPackages                             yajra/laravel-datatables-buttons - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yajra/laravel-datatables-buttons

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yajra/laravel-datatables-buttons
================================

Laravel DataTables Buttons Plugin.

v13.2.1(4w ago)26210.1M↓18.6%61[7 issues](https://github.com/yajra/laravel-datatables-buttons/issues)20MITPHPPHP ^8.3CI failing

Since Jan 27Pushed 4mo ago7 watchersCompare

[ Source](https://github.com/yajra/laravel-datatables-buttons)[ Packagist](https://packagist.org/packages/yajra/laravel-datatables-buttons)[ GitHub Sponsors](https://github.com/sponsors/yajra)[ RSS](/packages/yajra-laravel-datatables-buttons/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (36)Versions (110)Used By (20)

Laravel DataTables Buttons Plugin
=================================

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

[![Laravel 12.x](https://camo.githubusercontent.com/99523389690eaafdb995a8fdfcf38089c62b3f160c30483bb7ccc6ca246312ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d6f72616e67652e737667)](http://laravel.com)[![Latest Stable Version](https://camo.githubusercontent.com/75abe90d147d7955be06c8afd06c603a84747a369ba5cb534d4132d9104ab192/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616a72612f6c61726176656c2d646174617461626c65732d627574746f6e732e737667)](https://packagist.org/packages/yajra/laravel-datatables-buttons)[![License](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/yajra/laravel-datatables-buttons)

[![Continuous Integration](https://github.com/yajra/laravel-datatables-buttons/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables-buttons/actions/workflows/continuous-integration.yml)[![Static Analysis](https://github.com/yajra/laravel-datatables-buttons/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables-buttons/actions/workflows/static-analysis.yml)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/436d2c6feaf9bdeb71cb65331b72e7363874ec12e2caffd178db1b799843d767/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f79616a72612f6c61726176656c2d646174617461626c65732d627574746f6e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/yajra/laravel-datatables-buttons/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/fcf120414184d0381621b46d8bf3137408ab6c2b5c71d42bb1bf9eb0865bc03a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616a72612f6c61726176656c2d646174617461626c65732d627574746f6e732e737667)](https://packagist.org/packages/yajra/laravel-datatables-buttons)

This package is a plugin of [Laravel DataTables](https://github.com/yajra/laravel-datatables) for handling server-side function of exporting the table as csv, excel, pdf and printing.

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

[](#requirements)

- [PHP &gt;= 8.3](http://php.net/)
- [Laravel 12.x](https://github.com/laravel/framework)
- [Laravel DataTables](https://github.com/yajra/laravel-datatables)
- [jQuery DataTables v1.10.x](http://datatables.net/)
- [jQuery DataTables Buttons Extension](https://datatables.net/reference/button/)

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

[](#documentations)

- [Laravel DataTables Documentation](http://yajrabox.com/docs/laravel-datatables)

Laravel Version Compatibility
-----------------------------

[](#laravel-version-compatibility)

LaravelPackage8.x and below4.x9.x9.x10.x10.x11.x11.x12.x12.x13.x13.xQuick Installation
------------------

[](#quick-installation)

`composer require yajra/laravel-datatables-buttons:^13`

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

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

`Yajra\DataTables\ButtonsServiceProvider::class`

#### Configuration and Assets (Optional)

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

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

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

HTML Builder Resolution
-----------------------

[](#html-builder-resolution)

`DataTableHtml::make()` resolves the HTML builder through Laravel's service container, whether or not constructor arguments are provided. Explicit positional arguments are passed to the resolved class as constructor overrides.

Because container resolution happens before `handle()` builds the table, applications can use container bindings and `resolving` or `afterResolving` callbacks to configure or extend the HTML builder consistently.

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables-buttons/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-buttons/graphs/contributors)

License
-------

[](#license)

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

###  Health Score

75

—

ExcellentBetter than 100% of packages

Maintenance82

Actively maintained with recent releases

Popularity66

Solid adoption and visibility

Community44

Growing community involvement

Maturity95

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83% 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 ~32 days

Total

107

Last Release

29d ago

Major Versions

v9.1.3 → v10.0.02023-02-07

9.0.x-dev → v10.0.12023-02-20

v10.0.9 → v11.0.02024-03-14

v11.2.2 → v12.0.02025-02-26

12.x-dev → v13.0.02026-03-25

PHP version history (6 changes)v1.0.0PHP &gt;=5.6.4

v2.0.2PHP &gt;=7.0

v9.0.0PHP ^8.0.2

v10.0.0PHP ^8.1

v11.0.0PHP ^8.2

v13.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c245d1effe6022f9f09b2e8b9cce26743de03a64d612cea4ce9885560d7c0b2?d=identicon)[yajra](/maintainers/yajra)

---

Top Contributors

[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (449 commits)")[![jsarmientoOB](https://avatars.githubusercontent.com/u/197703267?v=4)](https://github.com/jsarmientoOB "jsarmientoOB (10 commits)")[![lk77](https://avatars.githubusercontent.com/u/9606882?v=4)](https://github.com/lk77 "lk77 (9 commits)")[![ElfSundae](https://avatars.githubusercontent.com/u/526008?v=4)](https://github.com/ElfSundae "ElfSundae (9 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (6 commits)")[![Namoshek](https://avatars.githubusercontent.com/u/8877609?v=4)](https://github.com/Namoshek "Namoshek (4 commits)")[![g3c0d3r5](https://avatars.githubusercontent.com/u/124490573?v=4)](https://github.com/g3c0d3r5 "g3c0d3r5 (4 commits)")[![jiwom](https://avatars.githubusercontent.com/u/22045242?v=4)](https://github.com/jiwom "jiwom (4 commits)")[![nicacode](https://avatars.githubusercontent.com/u/87890765?v=4)](https://github.com/nicacode "nicacode (4 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (4 commits)")[![padre](https://avatars.githubusercontent.com/u/1129993?v=4)](https://github.com/padre "padre (3 commits)")[![EJ-OB](https://avatars.githubusercontent.com/u/135292423?v=4)](https://github.com/EJ-OB "EJ-OB (3 commits)")[![FabienLucini](https://avatars.githubusercontent.com/u/5416118?v=4)](https://github.com/FabienLucini "FabienLucini (3 commits)")[![nmfzone](https://avatars.githubusercontent.com/u/10361906?v=4)](https://github.com/nmfzone "nmfzone (3 commits)")[![underdpt](https://avatars.githubusercontent.com/u/8122137?v=4)](https://github.com/underdpt "underdpt (2 commits)")[![jaydons](https://avatars.githubusercontent.com/u/44308248?v=4)](https://github.com/jaydons "jaydons (2 commits)")[![luckys383](https://avatars.githubusercontent.com/u/4679499?v=4)](https://github.com/luckys383 "luckys383 (2 commits)")[![mariopro](https://avatars.githubusercontent.com/u/2560046?v=4)](https://github.com/mariopro "mariopro (2 commits)")[![mariovalney](https://avatars.githubusercontent.com/u/5784633?v=4)](https://github.com/mariovalney "mariovalney (2 commits)")[![rylxes](https://avatars.githubusercontent.com/u/1958058?v=4)](https://github.com/rylxes "rylxes (2 commits)")

---

Tags

datatablesdatatables-buttonsdatatables-pluginhacktoberfestjqueryjquery-datatableslaravellaravel-datatableslaraveljquerydatatablesbuttons

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/yajra-laravel-datatables-buttons/health.svg)

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

###  Alternatives

[yajra/laravel-datatables

Laravel DataTables Complete Package.

1036.5M60](/packages/yajra-laravel-datatables)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

29110.7M50](/packages/yajra-laravel-datatables-html)[yajra/laravel-datatables-editor

Laravel DataTables Editor plugin for Laravel 5.5+.

1196.8M2](/packages/yajra-laravel-datatables-editor)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

1007.4k](/packages/zidbih-laravel-deadlock)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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