From 944508849f37adae1d8f88c57e6b3233d5e51db8 Mon Sep 17 00:00:00 2001 From: 451134428 <451134428@qq.com> Date: Thu, 5 Jul 2018 18:01:45 +0800 Subject: [PATCH 1/3] update --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 79ded63..36e0cf5 100644 --- a/start.php +++ b/start.php @@ -1,6 +1,6 @@ #!/usr/bin/env php Date: Fri, 6 Jul 2018 10:10:33 +0800 Subject: [PATCH 2/3] update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 89acfa4..e1a876a 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "homepage": "https://github.com/multilinguals/apollo-php-client", "require": { - "php": ">=5.4 || >=7.0" + "php": "~7.0" }, "autoload": { "psr-4": { From da295032f9f0cd37b511e0f5550d77bb8e3ed5f4 Mon Sep 17 00:00:00 2001 From: 451134428 <451134428@qq.com> Date: Fri, 6 Jul 2018 10:12:28 +0800 Subject: [PATCH 3/3] update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b8746e..11624db 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ```bash $ composer require multilinguals/apollo-client ``` -php version >= 5.4 required +php version >= 7.0 required ## Features - 支持apollo配置变更的适时获取 @@ -52,7 +52,7 @@ do { ### Docker环境客户端自启动 -在docker的启动脚本中加入的启动代码,一般的php容器启动脚本是docker-php-entrypoint +在docker的启动脚本中加入启动代码,一般的php容器启动脚本是docker-php-entrypoint ```bash if [ -f "/path/to/start.php" ]; then apollo_ps=$(ps -aux | grep -c "php /path/to/start.php")