Skip to content

polaris-contrib/polaris-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79ef1cc · Jun 29, 2022

History

25 Commits
Nov 10, 2021
Dec 20, 2021
Dec 26, 2021
Dec 26, 2021
Dec 26, 2021
Dec 26, 2021
Dec 26, 2021
Dec 28, 2021
Jun 29, 2022
Nov 8, 2021
Jun 29, 2022

Repository files navigation

polaris-php

Polaris is an operation centre that supports multiple programming languages, with high compatibility to different application framework. Polaris-php is php SDK for Polaris.

Overview

Polaris-php provide features listed as below:

  • Service instance registration, and health check

    Provides API on/offline registration instance information, with regular report to inform caller server's healthy status.

  • Service discovery

    Provides multiple API, for users to get a full list of server instance, or get one server instance after route rule filtering and loadbalancing, which can be applied to srevice invocation soon.

  • Service circuitbreaking

    Provide API to report the invocation result, and conduct circuit breaker instance/group insolation based on collected data, eventually recover when the system allows.

  • Service ratelimiting

    Provides API for applications to conduct quota check and deduction, supports rate limit policies that are based on server level and port.

Quick Guide

Build Polaris-PHP

You can see this document to build polaris-php: BuildDoc

Using API

API use guide,can reference:ApiDoc

Example

API quick start guide,can reference:QuickStart