xtwoend/api-gateway

Api gateway for hyperf

1.2.0 2023-07-08 05:37 UTC

This package is auto-updated.

Last update: 2024-04-08 07:10:53 UTC


README

Install

    composer require xtwoend/api-gateway
    php bin/hyperf.php vendor:publish xtwoend/api-gateway
    php bin/hyperf.php migrate

in config/routes.php

    use Xtwoend\ApiGateway\Router\RouteRegistry;
    make(RouteRegistry::class)->make(Router::class);