Download the PHP package uniondrug/sketch without Composer
On this page you can find all versions of the php package uniondrug/sketch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sketch
SKETCH
快速安装
composer create-project
- 创建项目模板指令uniondrug/sketch
- 模板项目<example>
- 安装的项目名称(即: 文件夹名称)
导出文档
SDK
MARKDOWN
POSTMAN
服务注册
OP
- 操作类型, 可选register、deregisterOPTIONS
- 支持选项--env=development|testing|release|production
- 指定环境名--domain=<YES|NO>
- 是否以域名模式注册(默认: YES)--docker=<YES|NO>
- 是否Docker容器中注册(默认: NO)--service-ip=<127.0.0.1>
- 服务的IP地址或域名--service-port=<8080>
- 服务的Port端口号--consul-ip=<127.0.0.1>
- Consul安装的IP地址--consul-port=<8500>
- Consul安装的Port端口号--app-path=<PATH>
- 应用所在目录, 默认当前应用
语法
示例
构建镜像
构建镜像时, 脚本先在项目的根目录生成
Dockerfile
和dockerfile.sh
二个文件, 然后自动执行dockerfile.sh
文件并生项目镜像; 项目镜像的关键参数由配置文件config/app.php
文件定义的如下字段。
app.dockerImage
- 基础镜像名称, 默认:uniondrug:base
.app.appName
- 项目镜像名称app.appVersion
- 项目镜像版本
快速生成
手动生成
All versions of sketch with dependencies
PHP Build Version
Package Version
Requires
uniondrug/framework Version
^2.0
uniondrug/http-client Version ^2.0
uniondrug/register Version ^2.0
uniondrug/service Version ^2.0
uniondrug/service-sdk Version 2.x-dev
uniondrug/structs Version ^2.0
uniondrug/validation Version ^2.0
uniondrug/phar Version ^1.0
uniondrug/http-client Version ^2.0
uniondrug/register Version ^2.0
uniondrug/service Version ^2.0
uniondrug/service-sdk Version 2.x-dev
uniondrug/structs Version ^2.0
uniondrug/validation Version ^2.0
uniondrug/phar Version ^1.0
The package uniondrug/sketch contains the following files
Loading the files please wait ....