Skip to content

Commit 9639b26

Browse files
authored
Merge pull request #74 from yajra/laravel-12
feat: Laravel 12
2 parents 077cdf1 + 3fcb499 commit 9639b26

File tree

4 files changed

+24
-72
lines changed

4 files changed

+24
-72
lines changed

CHANGELOG.md

+2-58
Original file line numberDiff line numberDiff line change
@@ -2,62 +2,6 @@
22

33
## UNRELEASED
44

5-
## v11.4.2 - 2025-02-26
5+
## v12.0.0 - 2025-02-26
66

7-
- fix: replace export request #73
8-
9-
## v11.4.1 - 2025-02-19
10-
11-
- fix: allow phpoffice v1 #72
12-
13-
## v11.4.0 - 2025-02-19
14-
15-
- feat: Support exportRender option #71
16-
- fix: #70
17-
18-
## v11.3.3 - 2025-01-04
19-
20-
- fix: phpoffice vulnerabilities #69
21-
22-
## v11.3.2 - 2024-12-04
23-
24-
- fix: https://github.com/yajra/laravel-datatables-export/issues/68
25-
- fix: wrong v11.3.1 tag
26-
27-
## v11.3.1 - 2024-11-29
28-
29-
- fix: November phpoffice/phpspreadsheet vulnerabilities #67
30-
- fix #66
31-
32-
## v11.3.0 - 2024-10-09
33-
34-
- fix: `phpoffice/phpspreadsheet` vulnerabilities #64
35-
36-
## v11.2.0 - 2024-09-02
37-
38-
- fix: CVE-2024-45046 #63
39-
- fix: #62
40-
- fix: yajra/laravel-datatables#3173
41-
42-
## v11.1.1 - 2024-04-29
43-
44-
- fix: pestphp require-dev #61
45-
- bump deps
46-
- fix: yajra/laravel-datatables#3136
47-
48-
## v11.1.0 - 2024-04-29
49-
50-
- feat: add button name option #59
51-
52-
## v11.0.1 - 2024-04-16
53-
54-
- fix: Export button URL: Merge new with existing query params #58
55-
- fix #57 - Handle new params with existing query params in the export button URL
56-
57-
## v11.0.0 - 2023-03-14
58-
59-
- Laravel 11.x support
60-
- Use Pest for testing
61-
- Add Pint and Rector for code quality
62-
- Add GitHub Actions for CI/CD
63-
- Fix PhpStan issues
7+
- Laravel 12.x support

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel DataTables Export Plugin
22

3-
[![Laravel 11](https://img.shields.io/badge/Laravel-11-orange.svg)](http://laravel.com)
3+
[![Laravel 12.x](https://img.shields.io/badge/Laravel-12.x-orange.svg)](http://laravel.com)
44
[![Latest Stable Version](https://img.shields.io/packagist/v/yajra/laravel-datatables-export.svg)](https://packagist.org/packages/yajra/laravel-datatables-export)
55
[![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)
66
[![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)
@@ -13,11 +13,11 @@ exporting using Queue, OpenSpout and Livewire.
1313
## Requirements
1414

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

2222
## Documentations
2323

@@ -31,10 +31,11 @@ exporting using Queue, OpenSpout and Livewire.
3131
| 9.x | 1.x |
3232
| 10.x | 10.x |
3333
| 11.x | 11.x |
34+
| 12.x | 12.x |
3435

3536
## Quick Installation
3637

37-
`composer require yajra/laravel-datatables-export:^11.0`
38+
`composer require yajra/laravel-datatables-export:^12.0`
3839

3940
The package also requires batch job:
4041

composer.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
"require": {
2020
"php": "^8.2",
2121
"ext-json": "*",
22-
"livewire/livewire": "^2.11.2|^3.5.6",
22+
"livewire/livewire": "^2.12.8|^3.5.6",
2323
"openspout/openspout": "^4.24.5",
24-
"phpoffice/phpspreadsheet": "^1.29.9|^2.3.7",
25-
"yajra/laravel-datatables-buttons": "^11.0"
24+
"phpoffice/phpspreadsheet": "^1.29.9|^2.3.7|^3.9.1|^4.0.0",
25+
"yajra/laravel-datatables-buttons": "^12.0"
2626
},
2727
"require-dev": {
28-
"larastan/larastan": "^2.9.8",
29-
"orchestra/testbench": "^9.4.0",
30-
"pestphp/pest": "^2.35.1",
31-
"pestphp/pest-plugin-laravel": "^2.4",
28+
"larastan/larastan": "^3.1",
29+
"orchestra/testbench": "^10.0",
30+
"pestphp/pest": "^3.7",
31+
"pestphp/pest-plugin-laravel": "^3.1",
3232
"laravel/pint": "^1.17.2",
33-
"rector/rector": "^1.2.4"
33+
"rector/rector": "^2.0.9"
3434
},
3535
"autoload": {
3636
"psr-4": {

phpstan.neon.dist

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ parameters:
1010

1111
ignoreErrors:
1212
- '#Parameter \#1 \$callback of method Illuminate\\Container\\Container::call\(\) expects \(callable\(\): mixed\)\|string*#'
13+
- identifier: trait.unused
14+
- identifier: argument.type
15+
- identifier: method.nonObject
16+
- identifier: missingType.iterableValue
17+
- identifier: varTag.nativeType
1318

1419
excludePaths:
1520
- tests
1621

17-
checkMissingIterableValueType: false
22+
noEnvCallsOutsideOfConfig: false
23+
24+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)