Skip to content

PHP toolset for a microservices architecture (logger, HTTP client compliant with the JSON-RPC standard)

License

Notifications You must be signed in to change notification settings

simonmacor/microservice-toolset

Repository files navigation

CI Coverage Status

Microservice toolset

Microservice Toolset is a PHP library designed to support microservices architecture by providing a set of tools including a logger and an HTTP client that complies to the JSON-RPC standard. Each service call generates a log entry for both the request sent and the response received. These entries include a context (which can be extended) that contains a correlation ID and a principal by default. Microservice Toolset is compatible with Etcd and Consul for service registration and discovery.

Requirements

Features

  • JSON-RPC 2.0 Compliant HTTP Client: Easily make JSON-RPC calls between services.
  • Advanced Logging: Monolog handler for structured logging.
  • Service Discovery: Integrates with Etcd, Consul or json file for service registration and discovery.

Installation

You can install the package via Composer

composer require simonmacor/microservice-toolset

Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Third-Party Licenses

This project includes library php-consul-api that are licensed under the Apache License 2.0. You can find a copy of the Apache License 2.0 here.

License Compatibility

While the majority of the code in this project is under the MIT License, the parts that are derived from or include code licensed under the Apache License 2.0 will continue to be governed by the terms of that license.

Please ensure that you adhere to the requirements of both licenses when using, modifying, or distributing the code.

About

PHP toolset for a microservices architecture (logger, HTTP client compliant with the JSON-RPC standard)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages