Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 2 additions & 58 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,6 @@

## UNRELEASED

## v11.4.2 - 2025-02-26
## v12.0.0 - 2025-02-26

- fix: replace export request #73

## v11.4.1 - 2025-02-19

- fix: allow phpoffice v1 #72

## v11.4.0 - 2025-02-19

- feat: Support exportRender option #71
- fix: #70

## v11.3.3 - 2025-01-04

- fix: phpoffice vulnerabilities #69

## v11.3.2 - 2024-12-04

- fix: https://github.com/yajra/laravel-datatables-export/issues/68
- fix: wrong v11.3.1 tag

## v11.3.1 - 2024-11-29

- fix: November phpoffice/phpspreadsheet vulnerabilities #67
- fix #66

## v11.3.0 - 2024-10-09

- fix: `phpoffice/phpspreadsheet` vulnerabilities #64

## v11.2.0 - 2024-09-02

- fix: CVE-2024-45046 #63
- fix: #62
- fix: yajra/laravel-datatables#3173

## v11.1.1 - 2024-04-29

- fix: pestphp require-dev #61
- bump deps
- fix: yajra/laravel-datatables#3136

## v11.1.0 - 2024-04-29

- feat: add button name option #59

## v11.0.1 - 2024-04-16

- fix: Export button URL: Merge new with existing query params #58
- fix #57 - Handle new params with existing query params in the export button URL

## v11.0.0 - 2023-03-14

- Laravel 11.x support
- Use Pest for testing
- Add Pint and Rector for code quality
- Add GitHub Actions for CI/CD
- Fix PhpStan issues
- Laravel 12.x support
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Laravel DataTables Export Plugin

[![Laravel 11](https://img.shields.io/badge/Laravel-11-orange.svg)](http://laravel.com)
[![Laravel 12.x](https://img.shields.io/badge/Laravel-12.x-orange.svg)](http://laravel.com)
[![Latest Stable Version](https://img.shields.io/packagist/v/yajra/laravel-datatables-export.svg)](https://packagist.org/packages/yajra/laravel-datatables-export)
[![Continuous Integration](https://github.com/yajra/laravel-datatables-export/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables-export/actions/workflows/continuous-integration.yml)
[![Static Analysis](https://github.com/yajra/laravel-datatables-export/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables-export/actions/workflows/static-analysis.yml)
Expand All @@ -13,11 +13,11 @@ exporting using Queue, OpenSpout and Livewire.
## Requirements

- [PHP >=8.2](http://php.net/)
- [Laravel 11](https://github.com/laravel/framework)
- [Laravel 12](https://github.com/laravel/framework)
- [Laravel Livewire](https://laravel-livewire.com/)
- [OpenSpout](https://github.com/openspout/openspout/)
- [Laravel DataTables 11.x](https://github.com/yajra/laravel-datatables)
- [jQuery DataTables v1.10.x](http://datatables.net/)
- [Laravel DataTables 12.x](https://github.com/yajra/laravel-datatables)
- [jQuery DataTables 2.x](http://datatables.net/)

## Documentations

Expand All @@ -31,10 +31,11 @@ exporting using Queue, OpenSpout and Livewire.
| 9.x | 1.x |
| 10.x | 10.x |
| 11.x | 11.x |
| 12.x | 12.x |

## Quick Installation

`composer require yajra/laravel-datatables-export:^11.0`
`composer require yajra/laravel-datatables-export:^12.0`

The package also requires batch job:

Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
"require": {
"php": "^8.2",
"ext-json": "*",
"livewire/livewire": "^2.11.2|^3.5.6",
"livewire/livewire": "^2.12.8|^3.5.6",
"openspout/openspout": "^4.24.5",
"phpoffice/phpspreadsheet": "^1.29.9|^2.3.7",
"yajra/laravel-datatables-buttons": "^11.0"
"phpoffice/phpspreadsheet": "^1.29.9|^2.3.7|^3.9.1|^4.0.0",
"yajra/laravel-datatables-buttons": "^12.0"
},
"require-dev": {
"larastan/larastan": "^2.9.8",
"orchestra/testbench": "^9.4.0",
"pestphp/pest": "^2.35.1",
"pestphp/pest-plugin-laravel": "^2.4",
"larastan/larastan": "^3.1",
"orchestra/testbench": "^10.0",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.1",
"laravel/pint": "^1.17.2",
"rector/rector": "^1.2.4"
"rector/rector": "^2.0.9"
},
"autoload": {
"psr-4": {
Expand Down
9 changes: 8 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ parameters:

ignoreErrors:
- '#Parameter \#1 \$callback of method Illuminate\\Container\\Container::call\(\) expects \(callable\(\): mixed\)\|string*#'
- identifier: trait.unused
- identifier: argument.type
- identifier: method.nonObject
- identifier: missingType.iterableValue
- identifier: varTag.nativeType

excludePaths:
- tests

checkMissingIterableValueType: false
noEnvCallsOutsideOfConfig: false

treatPhpDocTypesAsCertain: false