massooti/rating-microservice

There is no license information available for the latest version (dev-master) of this package.

By using this package you can sumbit your rate to application on micro service.

dev-master 2021-04-16 08:39 UTC

This package is auto-updated.

Last update: 2023-01-16 12:30:41 UTC


README

1 - Installation

composer require massooti/rating-microservice 

2 - in config/app.php providers

Kavano\Rating\RatingServiceProvider::class,

3 -

php artisan vendor:publish --provider="Kavano\Rating\RatingServiceProvider"

4 -in config/rating.php :

change default prefix

add your custom middleware

5 - and put thease parameter in your .env

RATING_MICROSERVICE_URI =***htpp://localhost***

RATING_MICROSERVICE_USERNAME =***USERNAME***

RATING_MICROSERVICE_PASSWORD = ***PASSWORD***

6 - composer update

thats it, now you connected to rating microservice