Skip to content

Commit 35493e0

Browse files
committed
Laravel 13 updates
1 parent 379ecfc commit 35493e0

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 13.0.0 - 19-Mar-2026
4+
5+
- Added Laravel 13 support
6+
7+
38
## 12.0.0 - 26-Feb-2025
49

510
- Added Laravel 12 support

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ version of the package.
101101
102102
| Laravel Version | Package Version |
103103
|:---------------:|:---------------:|
104+
| 13.0 | ^13.0 |
104105
| 12.0 | ^12.0 |
105106
| 11.0 | ^11.0 |
106107
| 10.0 | ^10.0 |
@@ -121,8 +122,7 @@ the correct README.md for your version (GitHub displays the version in
121122
the _master_ branch by default, which might not be what you want).
122123

123124
> [!WARNING]
124-
> Support for Laravel [Lumen](https://lumen.laravel.com/) will be dropped
125-
> in the 12.0 version of this package.
125+
> Support for Laravel [Lumen](https://lumen.laravel.com/) has been dropped.
126126
127127

128128
1. Install the package via Composer:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343
},
4444
"scripts": {
45-
"analyze": "vendor/bin/phpstan analyze",
45+
"analyze": "vendor/bin/phpstan --memory-limit=1G analyze",
4646
"fresh": [
4747
"rm -rf vendor composer.lock",
4848
"composer install"

phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ includes:
22
- vendor/larastan/larastan/extension.neon
33

44
parameters:
5-
level: 4
5+
level: 5
66
paths:
77
- resources
88
- src

src/SluggableObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ protected function fireSluggingEvent(Model $model, string $event): ?bool
8787
/**
8888
* Fire the namespaced post-validation event.
8989
*/
90-
protected function fireSluggedEvent(Model $model, string $status): void
90+
protected function fireSluggedEvent(Model $model, bool $status): void
9191
{
9292
$this->events->dispatch('eloquent.slugged: ' . get_class($model), [$model, $status]);
9393
}

0 commit comments

Comments
 (0)