flyddy/http-annotation

php stander lib

Maintainers

Package info

github.com/flyddy/http-annotation

Homepage

pkg:composer/flyddy/http-annotation

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2024-09-20 09:31 UTC

This package is not auto-updated.

Last update: 2026-03-07 14:29:50 UTC


README

安装

composer require easyswoole/http-annotation

注解规范

Example

/**
 * Class ControllerA
 * @package EasySwoole\HttpAnnotation\Tests\TestController
 * @ApiGroup(groupName="A")
 * @ApiGroupDescription()
 */
class ControllerA extends AnnotationController
{
    /**
     * @Api(path="/A/test")
     */
    function test()
    {

    }

    /**
     * @Api(path="")
     */
    function test2()
    {
        
    }
}