1 Unstar Star 0 Fork 4

sky8652 / hyperf-apiPHP

forked from liangguifeng / hyperf-api 
Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
hyperf的api实例,做了用户的登录认证,采用的是jwt做接口的认证,供大家参考 spread retract

Clone or download
composer.json 2.96 KB
Copy Edit Web IDE Raw Blame History
{
"name": "hyperf/hyperf-skeleton",
"type": "project",
"keywords": [
"php",
"swoole",
"framework",
"hyperf",
"microservice",
"middleware"
],
"description": "A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.",
"license": "Apache-2.0",
"require": {
"php": ">=7.2",
"ext-swoole": ">=4.4",
"ext-json": "*",
"hyperf/cache": "~1.1.0",
"hyperf/command": "~1.1.0",
"hyperf/config": "~1.1.0",
"hyperf/contract": "~1.1.0",
"hyperf/database": "~1.1.0",
"hyperf/db-connection": "~1.1.0",
"hyperf/devtool": "~1.1.0",
"hyperf/di": "~1.1.0",
"hyperf/dispatcher": "~1.1.0",
"hyperf/event": "~1.1.0",
"hyperf/exception-handler": "~1.1.0",
"hyperf/framework": "~1.1.0",
"hyperf/guzzle": "~1.1.0",
"hyperf/http-server": "~1.1.0",
"hyperf/logger": "~1.1.0",
"hyperf/memory": "~1.1.0",
"hyperf/paginator": "~1.1.0",
"hyperf/pool": "~1.1.0",
"hyperf/process": "~1.1.0",
"hyperf/redis": "~1.1.0",
"hyperf/utils": "~1.1.0",
"hyperf/json-rpc": "~1.1.0",
"hyperf/rpc": "~1.1.0",
"hyperf/rpc-client": "~1.1.0",
"hyperf/rpc-server": "~1.1.0",
"hyperf/service-governance": "~1.1.0",
"hyperf/config-apollo": "~1.1.0",
"hyperf/constants": "~1.1.0",
"hyperf/async-queue": "~1.1.0",
"hyperf/amqp": "~1.1.0",
"hyperf/model-cache": "~1.1.0",
"hyperf/elasticsearch": "~1.1.0",
"hyperf/tracer": "~1.1.0",
"hyperf/validation": "^1.1",
"phper666/jwt-auth": "^2.0"
},
"require-dev": {
"swoft/swoole-ide-helper": "^4.2",
"phpmd/phpmd": "^2.6",
"friendsofphp/php-cs-fixer": "^2.14",
"mockery/mockery": "^1.0",
"doctrine/common": "^2.9",
"phpstan/phpstan": "^0.11.2",
"hyperf/testing": "~1.1.0"
},
"suggest": {
"ext-openssl": "Required to use HTTPS.",
"ext-json": "Required to use JSON.",
"ext-pdo": "Required to use MySQL Client.",
"ext-pdo_mysql": "Required to use MySQL Client.",
"ext-redis": "Required to use Redis Client."
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"files": []
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "./test/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": [],
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"test": "co-phpunit -c phpunit.xml --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyze": "phpstan analyse --memory-limit 300M -l 0 -c phpstan.neon ./app ./config",
"start": "php ./bin/hyperf.php start"
}
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/resourcesplus/hyperf-api.git
git@gitee.com:resourcesplus/hyperf-api.git
resourcesplus
hyperf-api
hyperf-api
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542