xtwoend/api-gateway

Api gateway for hyperf

1.2.0 2023-07-08 05:37 UTC

This package is auto-updated.

Last update: 2024-11-08 08:22:00 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);