├── .env.example ├── .gitignore ├── .gitlab-ci.yml ├── .php_cs ├── .phpstorm.meta.php ├── Dockerfile ├── README.md ├── app ├── Constants │ └── ErrorCode.php ├── Controller │ ├── Controller.php │ └── IndexController.php ├── Exception │ ├── BusinessException.php │ └── Handler │ │ └── BusinessExceptionHandler.php ├── Kernel │ ├── Functions.php │ ├── Http │ │ └── Response.php │ └── Log │ │ ├── AppendRequestIdProcessor.php │ │ └── LoggerFactory.php ├── Listener │ ├── DbQueryExecutedListener.php │ └── QueueHandleListener.php └── Model │ └── Model.php ├── bin └── hyperf.php ├── composer.json ├── config ├── autoload │ ├── annotations.php │ ├── aspects.php │ ├── async_queue.php │ ├── cache.php │ ├── commands.php │ ├── databases.php │ ├── dependencies.php │ ├── devtool.php │ ├── exceptions.php │ ├── listeners.php │ ├── logger.php │ ├── middlewares.php │ ├── processes.php │ ├── redis.php │ └── server.php ├── config.php ├── container.php └── routes.php ├── deploy.test.yml ├── phpstan.neon ├── phpunit.xml └── test ├── Cases └── ExampleTest.php ├── HttpTestCase.php └── bootstrap.php /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/.php_cs -------------------------------------------------------------------------------- /.phpstorm.meta.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/.phpstorm.meta.php -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/README.md -------------------------------------------------------------------------------- /app/Constants/ErrorCode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Constants/ErrorCode.php -------------------------------------------------------------------------------- /app/Controller/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Controller/Controller.php -------------------------------------------------------------------------------- /app/Controller/IndexController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Controller/IndexController.php -------------------------------------------------------------------------------- /app/Exception/BusinessException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Exception/BusinessException.php -------------------------------------------------------------------------------- /app/Exception/Handler/BusinessExceptionHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Exception/Handler/BusinessExceptionHandler.php -------------------------------------------------------------------------------- /app/Kernel/Functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Kernel/Functions.php -------------------------------------------------------------------------------- /app/Kernel/Http/Response.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Kernel/Http/Response.php -------------------------------------------------------------------------------- /app/Kernel/Log/AppendRequestIdProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Kernel/Log/AppendRequestIdProcessor.php -------------------------------------------------------------------------------- /app/Kernel/Log/LoggerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Kernel/Log/LoggerFactory.php -------------------------------------------------------------------------------- /app/Listener/DbQueryExecutedListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Listener/DbQueryExecutedListener.php -------------------------------------------------------------------------------- /app/Listener/QueueHandleListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Listener/QueueHandleListener.php -------------------------------------------------------------------------------- /app/Model/Model.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/app/Model/Model.php -------------------------------------------------------------------------------- /bin/hyperf.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/bin/hyperf.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/composer.json -------------------------------------------------------------------------------- /config/autoload/annotations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/annotations.php -------------------------------------------------------------------------------- /config/autoload/aspects.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/aspects.php -------------------------------------------------------------------------------- /config/autoload/async_queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/async_queue.php -------------------------------------------------------------------------------- /config/autoload/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/cache.php -------------------------------------------------------------------------------- /config/autoload/commands.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/commands.php -------------------------------------------------------------------------------- /config/autoload/databases.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/databases.php -------------------------------------------------------------------------------- /config/autoload/dependencies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/dependencies.php -------------------------------------------------------------------------------- /config/autoload/devtool.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/devtool.php -------------------------------------------------------------------------------- /config/autoload/exceptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/exceptions.php -------------------------------------------------------------------------------- /config/autoload/listeners.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/listeners.php -------------------------------------------------------------------------------- /config/autoload/logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/logger.php -------------------------------------------------------------------------------- /config/autoload/middlewares.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/middlewares.php -------------------------------------------------------------------------------- /config/autoload/processes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/processes.php -------------------------------------------------------------------------------- /config/autoload/redis.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/redis.php -------------------------------------------------------------------------------- /config/autoload/server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/autoload/server.php -------------------------------------------------------------------------------- /config/config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/config.php -------------------------------------------------------------------------------- /config/container.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/container.php -------------------------------------------------------------------------------- /config/routes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/config/routes.php -------------------------------------------------------------------------------- /deploy.test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/deploy.test.yml -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/phpunit.xml -------------------------------------------------------------------------------- /test/Cases/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/test/Cases/ExampleTest.php -------------------------------------------------------------------------------- /test/HttpTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/test/HttpTestCase.php -------------------------------------------------------------------------------- /test/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/limingxinleo/hyperf-demo/HEAD/test/bootstrap.php --------------------------------------------------------------------------------