jenky/telescope-elasticsearch

Elastisearch driver for Laravel Telescope

dev-master / 1.0.x-dev 2019-02-19 09:26 UTC

This package is auto-updated.

Last update: 2024-10-20 01:40:08 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Note: Replace Lynh jenky https://github.com/jenky contact@lynh.me jenky telescope-elasticsearch Elastisearch driver for Laravel Telescope with their correct values in README.md, CHANGELOG.md, CONTRIBUTING.md, LICENSE.md and composer.json files, then delete this line. You can run $ php prefill.php in the command line to make all replacements at once. Delete the file prefill.php as well.

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

composer require jenky/telescope-elasticsearch

The package will automatically register itself.

You can publish the migration with:

php artisan vendor:publish --provider="Jenky\TelescopeElasticsearch\TelescopeElasticsearchServiceProvider"

After you publish the configuration file as suggested above, you may configure ElasticSearch by adding the following to your application's .env file (with appropriate values):

ELASTICSEARCH_HOST=localhost
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_SCHEME=http
ELASTICSEARCH_USER=
ELASTICSEARCH_PASS=

Run the migration:

php artisan migrate

Then change your Telescope driver to:

TELESCOPE_DRIVER=elasticsearch

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email contact@lynh.me instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.