skeletonIs a framework application that uses the hyperf framework. It includes the basic system functions, permission setting, verification, role management, user management, menu management and so on.
Hyperf has certain requirements for the system environment, and can only run in Linux and MAC environment. However, due to the development of docker virtualization technology, docker for windows can also be used as the running environment under windows. If you want to deploy this program with docker, refer to the hyperf docker deployment tutorial.
PHP >= 7.2 Swoole PHP extension >= 4.4，(And close the short tag) OpenSSL PHP extension JSON PHP extension PDO PHPExtension (if you want to use mysql, you need to enable the extension)PHPExtension (if you want to use redis, you need to enable the extension)PHPExtension (if grpc is used, you need to enable extension)
git clone https://github.com/anziguoer/skeleton.git path/to/install
[Project configuration] APP_NAME=skeleton APP_ENV=dev APP_URL=http://localhost:9501 [MySQL configuration] DB_DRIVER=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=skeleton DB_USERNAME=root DB_PASSWORD=root DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci DB_PREFIX= [Redis configuration] REDIS_HOST=localhost REDIS_AUTH=(null) REDIS_PORT=6379 REDIS_DB=0#Default administrator accountID ADMINISTRATOR_ID=1 [jwt token key] SIMPLE_JWT_SECRET=
/storage/databases/All the following SQL files
cd path/to/install php bin/hyperf.php start
account: [email protected].COM: admin123
[*]user management [*]Authority management[*]Menu management[*]Role management[*]Middleware (authority, user authentication)
QQ communication group: 1031212459
This work adoptsCC agreementReprint must indicate the author and the link of this article