Closed giovannidalmas1967 closed 2 years ago
This is my composer.json:
{ "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "type": "project", "require": { "php": ">=7.2", "ext-dom": "", "ext-json": "", "ext-libxml": "", "ext-simplexml": "", "ext-zip": "", "doctrine/dbal": "^2.9", "fideloper/proxy": "^4.0", "laravel/cashier": "~9.0", "laravel/framework": "5.8.", "laravel/nexmo-notification-channel": "^2.0", "laravel/slack-notification-channel": "^2.0", "laravel/spark-aurelius": "*@dev", "laravel/tinker": "~1.0", "mpociot/vat-calculator": "^2.4", "webpatser/laravel-uuid": "^3.0" }, "require-dev": { "barryvdh/laravel-debugbar": "^3.1", "barryvdh/laravel-ide-helper": "^2.6", "beyondcode/laravel-dump-server": "^1.0", "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "mockery/mockery": "^1.0", "nunomaduro/collision": "^3.0", "phpunit/phpunit": "~8.0" }, "autoload": { "classmap": [ "database/seeds", "database/factories" ], "psr-4": { "App\": "app/" }, "files": [ "app/helpers.php" ] }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "extra": { "laravel": { "dont-discover": [] } }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate" ], "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", "sort-packages": true, "optimize-autoloader": true }, "repositories": [ { "type": "path", "url": "./spark" } ] }
Try version 4.1.3 of the package. That was the last version meant to be used with Laravel 5.8.
I will try it. Let you know. Thanks a lot
It worked, thanks a lot!
I tried to do some tests and tried to run "php artisan laravel-elasticsearch:...", the result is that the command "laravel-elasticsearch" is not defined. Have I missed something on package's installation and configuration?
Thanks in advance
Closing old tickets. There is no artisan command by that name in the package.
I have run this comand:
composer require cviebrock/laravel-elasticsearch
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation failed, reverting ./composer.json to its original content.
Thanks in advance