Skip to content

Commit 490828c

Browse files
committed
Add support for Laravel 11
1 parent 14a749f commit 490828c

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ This package is to displaying the model data in a Grid table.
1414
![Grid view appearance](https://github.com/itstructure/laravel-grid-view/blob/master/laravel_grid_view_appearance_en.png)
1515

1616
## Requirements
17-
- laravel 5.5+ | 6+ | 7+ | 8+ | 9+ | 10+
17+
- laravel 5.5+ | 6+ | 7+ | 8+ | 9+ | 10+ | 11+
1818
- Bootstrap 4 for styling
1919
- JQuery
2020
- php >= 7.1
2121
- composer
2222

2323
## Installation
2424

25-
### General from remote packagist repository
25+
### General from remote repository
2626

2727
Run the composer command:
2828

29-
`composer require itstructure/laravel-grid-view "~1.1.0"`
29+
`composer require itstructure/laravel-grid-view "~1.1.1"`
3030

3131
### If you are testing this package from a local server directory
3232

@@ -52,14 +52,6 @@ Then run command:
5252

5353
`composer require itstructure/laravel-grid-view:dev-master --prefer-source`
5454

55-
### Registration
56-
57-
Register service provider in **config/app.php**
58-
59-
```php
60-
Itstructure\GridView\GridViewServiceProvider::class,
61-
```
62-
6355
### Publish files (Not necessary)
6456

6557
- To publish views run command:

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### CHANGE LOG:
22

3+
**1.1.1 March 20, 2024:**
4+
- Add support for Laravel 11
5+
36
**1.1.0 February 04, 2024**
47
- Change from `col-xl-...` to `col-lg-...` in `tfoot` paginator and buttons containers.
58

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"require": {
1616
"php": ">=7.1.0",
17-
"laravel/framework": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0"
17+
"laravel/framework": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
1818
},
1919
"autoload": {
2020
"psr-4": {

src/GridViewServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function boot()
4848
*/
4949
private function registerCommands(): void
5050
{
51-
$this->commands(Commands\PublishCommand::class);
51+
$this->commands(PublishCommand::class);
5252
}
5353

5454

0 commit comments

Comments
 (0)