swoole PHP extension.
Setup
1
Install the swoole extension
Winter Eureka requires the
swoole PHP extension. Make sure it is installed and enabled in your environment before proceeding.2
Install the package
3
Enable the module
Append the following block to your The
application.yml:configFile value is a file path, either relative to the config directory or an absolute path.eureka-config.yml
Createeureka-config.yml in your config directory. The file supports configuring connections for both Consul.io and Netflix Eureka.
Autowiring
Service and client beans defined ineureka-config.yml can be autowired into your PHP classes: