waska14/elasticquent
Integrates Elasticsearch with Laravel's Eloquent models, letting you index records, define mappings, and run search queries directly from your models. A community fork of the Elasticquent package.
composer require vendor/package:^2.0. v2.0.0 explicitly adds support for laravel/framework:^7.0, so confirm your app is on Laravel 7 and PHP 7.2.5+ before upgrading. If you are still on Laravel 6, stay on the package's v1 release line.composer.json (extra.laravel.providers / extra.laravel.aliases), README, and tests. Laravel 7 auto-discovers service providers by default, so you usually do not need to edit config/app.php.php artisan vendor:publish --provider="Vendor\\Package\\PackageServiceProvider" (use the provider named in composer.json). Set the required env/config values before first use.php artisan tinker or a small test route, then exercise its primary facade/service/command. This verifies bindings and config before wiring it into production code.composer dump-autoload, php artisan package:discover, and php artisan config:clear.app() resolution over new so the package's config, bindings, and decorators apply. If the package exposes a facade, use it for terse calls but inject the underlying service in tests.config/<package>.php and .env. Use config:cache in production, and re-publish config only when the package documents new keys.^2.0, run composer update vendor/package --with-dependencies, re-publish config if needed, clear caches, and run the full test suite. Treat v2.0.0 as a major release even though the release note is terse.EventServiceProvider; if the package dispatches jobs, configure the queue connection and test with Queue::fake().$this->app->bound(...) and verify config values before exercising behavior.config/app.php.^7 support. It may drop Laravel 6 compatibility. Pin ^1.0 if you cannot upgrade Laravel yet.composer why-not vendor/package 2.0.0 and check the package's composer.json requirements.php artisan config:clear locally and php artisan config:cache during deployment. Stale config caches are a frequent source of "why isn't this working" issues.config/app.php aliases or use the fully qualified class name. Run php artisan package:discover after Composer changes.tinker, checking app()->bound(...), and reviewing storage/logs/laravel.log. Enable any package-specific debug config if available.AppServiceProvider::register() after the package provider loads.How can I help you explore Laravel packages today?