roshandelpoor / laravel-eureka-discovery
Register Laravel Applications in Eureka Server to register, deRegister, and discover
Requires
- php: ^7.1|^7.2|^7.3|^7.4|^8.0|^8.1|^8.2
- ext-json: *
- laravel/framework: ~5.5|~5.6|~5.7|~5.8|~5.9|~6.0|~7.0|~8.0|~9.0|~10.0|~11.0
- roshandelpoor/register-php-app-in-eureka: dev-main
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-09-29 22:38:10 UTC
README
This Package is a library that interacts with the Eureka Server to register, deregister, and discover other services. ( Spring Boot - Eureka Server is an application that holds the information about all client-service applications. Every Micro service will register into the Eureka server and Eureka server knows all the client applications running on each port and IP address. Eureka Server is also known as Discovery Server.)
Installation
You can install this package using [Composer]:
composer require "roshandelpoor/laravel-eureka-discovery":"dev-main"
For Laravel <= 5.6 Add to your "providers" array in config/app.php this line:
roshandelpoor\Eureka\LaravelEureka\LaravelEurekaServiceProvider::class
Documentation
SetUp And Use it
Your environment should provide variables: APP_URL=http://127.0.0.1:8000 EUREKA_URL=http://localhost:8761/myeureka Finally :: enable [ php artisan schedule:work ] in your app that it is register your app in eureka every 60 second enjoy it
Contributing
If you find any bugs or have suggestions for new features, feel free to open an issue or submit a pull request on GitHub.
License
Super Tools is open-source software licensed under the MIT license.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.