Skip to content

Commit ba7ea01

Browse files
committed
Add laravel-actions package
1 parent b39f028 commit ba7ea01

File tree

4 files changed

+156
-3
lines changed

4 files changed

+156
-3
lines changed

app/Traits/WithCustomLivewireException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ trait WithCustomLivewireException
1111
{
1212
public function exception($e, $stopPropagation)
1313
{
14+
if (config('app.env') === 'local' || config('app.debug')) {
15+
throw $e; // @phpstan-ignore-line
16+
}
17+
1418
if ($e instanceof HttpException) {
1519
return;
1620
}

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://getcomposer.org/schema.json",
33
"name": "cyanfox/base",
44
"type": "project",
5-
"description": "A modular extendable Base System based on Laravel 11",
5+
"description": "A modular extendable Base System based on Laravel 12",
66
"keywords": [
77
"laravel",
88
"cyanfox",
@@ -18,6 +18,7 @@
1818
"laravel/reverb": "^1.0",
1919
"laravel/tinker": "^2.9",
2020
"livewire/livewire": "^3.5",
21+
"lorisleiva/laravel-actions": "^2.9",
2122
"mhmiton/laravel-modules-livewire": "^5.0",
2223
"nunomaduro/essentials": "^0.1",
2324
"nwidart/laravel-modules": "^12.0",

composer.lock

Lines changed: 149 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"base": "4.1.3",
2+
"base": "4.2.0",
33
"dev": false
44
}

0 commit comments

Comments
 (0)