diff --git a/composer.json b/composer.json index 2452ece..c78b7ad 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,9 @@ } }, "require": { - "php": "^8.1" + "php": "^8.1", + "laravel/scout": "^10.10", + "matchish/laravel-scout-elasticsearch": "^v7.7" }, "require-dev": { "friendsofphp/php-cs-fixer": "^v3.0", @@ -68,7 +70,8 @@ "sort-packages": true, "allow-plugins": { "pestphp/pest-plugin": true, - "phpstan/extension-installer": true + "phpstan/extension-installer": true, + "php-http/discovery": true } }, "minimum-stability": "dev", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e69de29..9f53d0b 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -0,0 +1,3 @@ +parameters: + excludePaths: + - src/Http/Controllers/Base/*.php diff --git a/src/Http/Controllers/Base/BaseCategoryController.php b/src/Http/Controllers/Base/BaseCategoryController.php new file mode 100644 index 0000000..24b514d --- /dev/null +++ b/src/Http/Controllers/Base/BaseCategoryController.php @@ -0,0 +1,9 @@ +