From 46fef554f1fdf03fa2e4eee927c738cd410370cd Mon Sep 17 00:00:00 2001 From: Maicol Battistini Date: Wed, 26 Apr 2023 13:11:28 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20Aggiunto=20laravel=20packag?= =?UTF-8?q?e=20tools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ModuleServiceProvider.php | 4 ++-- composer.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/ModuleServiceProvider.php b/app/ModuleServiceProvider.php index 3f719f62d..0e83de7a1 100644 --- a/app/ModuleServiceProvider.php +++ b/app/ModuleServiceProvider.php @@ -4,10 +4,10 @@ namespace App; use Illuminate\Support\Arr; use Illuminate\Support\Facades\File; -use Illuminate\Support\ServiceProvider; use ReflectionClass; +use Spatie\LaravelPackageTools\PackageServiceProvider; -abstract class ModuleServiceProvider extends ServiceProvider +abstract class ModuleServiceProvider extends PackageServiceProvider { public static string $name = ''; diff --git a/composer.json b/composer.json index 1e8cc0227..e40544660 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,8 @@ "rawilk/laravel-settings": "^2", "spatie/file-system-watcher": "^1", "tightenco/ziggy": "^1", - "wikimedia/composer-merge-plugin": "^2" + "wikimedia/composer-merge-plugin": "^2", + "spatie/laravel-package-tools": "^1" }, "require-dev": { "barryvdh/laravel-debugbar": "^3",