Skip to content

Commit ab403af

Browse files
authored
feat: Laravel 12 (#194)
* feat: Laravel 12 * docs: v12 changelog
1 parent 78c8463 commit ab403af

File tree

4 files changed

+28
-34
lines changed

4 files changed

+28
-34
lines changed

CHANGELOG.md

+2-19
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
# Laravel DataTables Buttons Plugin CHANGELOG.
22

3-
## v11.2.2 - 2025-01-18
3+
## v12.0.0 - 2025-02-26
44

5-
- Fix: Avoid redundant call to buildExcelFile in csv method #191
6-
- Fixes #192
7-
8-
## v11.2.1 - 2024-09-14
9-
10-
- fix: fast-excel exporting of related models #189
11-
12-
## v11.2.0 - 2024-09-03
13-
14-
- feat: fast-excel export via Column's exportRender() #187
15-
16-
## v11.1.0 - 2024-09-02
17-
18-
- feat: fast-excel export cell styling via exportFormat #186
19-
20-
## v11.0.0 - 2024-03-14
21-
22-
- Laravel 11.x support
5+
- Laravel 12.x support

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Laravel DataTables Buttons Plugin
22

3-
[![Laravel 11.x](https://img.shields.io/badge/Laravel-11.x-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-buttons.svg)](https://packagist.org/packages/yajra/laravel-datatables-buttons)
55
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/yajra/laravel-datatables-buttons)
66

@@ -14,7 +14,7 @@ This package is a plugin of [Laravel DataTables](https://github.com/yajra/larave
1414
## Requirements
1515

1616
- [PHP >= 8.2](http://php.net/)
17-
- [Laravel 11.x](https://github.com/laravel/framework)
17+
- [Laravel 12.x](https://github.com/laravel/framework)
1818
- [Laravel DataTables](https://github.com/yajra/laravel-datatables)
1919
- [jQuery DataTables v1.10.x](http://datatables.net/)
2020
- [jQuery DataTables Buttons Extension](https://datatables.net/reference/button/)
@@ -31,10 +31,11 @@ This package is a plugin of [Laravel DataTables](https://github.com/yajra/larave
3131
| 9.x | 9.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-buttons:^11`
38+
`composer require yajra/laravel-datatables-buttons:^12`
3839

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

composer.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
],
1717
"require": {
1818
"php": "^8.2",
19-
"yajra/laravel-datatables-oracle": "^11",
20-
"yajra/laravel-datatables-html": "^11",
21-
"illuminate/console": "^11"
19+
"yajra/laravel-datatables-oracle": "^12",
20+
"yajra/laravel-datatables-html": "^12",
21+
"illuminate/console": "^12"
2222
},
2323
"require-dev": {
24-
"larastan/larastan": "^2.9.2",
25-
"orchestra/testbench": "^9",
26-
"laravel/pint": "^1.14",
27-
"rector/rector": "^1.0.2",
28-
"maatwebsite/excel": "^3.1.55",
29-
"rap2hpoutre/fast-excel": "^5.4"
24+
"larastan/larastan": "^3.1",
25+
"orchestra/testbench": "^10",
26+
"laravel/pint": "^1.21",
27+
"rector/rector": "^2.0",
28+
"maatwebsite/excel": "^3.1.64",
29+
"rap2hpoutre/fast-excel": "^5.6"
3030
},
3131
"autoload": {
3232
"psr-4": {
@@ -40,7 +40,7 @@
4040
},
4141
"extra": {
4242
"branch-alias": {
43-
"dev-master": "11.0-dev"
43+
"dev-master": "12.x-dev"
4444
},
4545
"laravel": {
4646
"providers": [

phpstan.neon.dist

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ parameters:
1010

1111
ignoreErrors:
1212
- '#Unsafe usage of new static\(\).#'
13-
- identifier: missingType.generics
14-
- identifier: missingType.iterableValue
13+
- identifier: missingType.generics
14+
- identifier: missingType.iterableValue
15+
- identifier: argument.type
16+
- identifier: method.nonObject
17+
- identifier: foreach.nonIterable
18+
- identifier: assign.propertyType
19+
- identifier: return.type
20+
- identifier: offsetAccess.nonOffsetAccessible
21+
- identifier: property.defaultValue
22+
- identifier: binaryOp.invalid
23+
- identifier: encapsedStringPart.nonString
24+
- identifier: return.missing
1525

1626
excludePaths:

0 commit comments

Comments
 (0)