Download the PHP package shershon/php-apollo without Composer
On this page you can find all versions of the php package shershon/php-apollo. 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 php-apollo
1.php-apollo
php项目接入Apollo的包
2.安装
-
配置composer.json
- composer require --ignore-platform-reqs shershon/php-apollo
- rm -rf vendor/shershon/php-apollo/.git
3.更新包版本
- composer require --ignore-platform-reqs shershon/php-apollo:1.0.0(替换成指定的版本)
- rm -rf vendor/shershon/php-apollo/.git
4.最佳实践
- apollo不要安装在项目中,最好在项目外运行一个单独的守护进程,运行apollo脚本,生成.env文件,然后再用软链将该.env文件链接到项目指定目录
- 原因:防止apollo和项目产生强依赖关系,这样即使apollo挂了,我们依然可以使用我们最初的方法手动修改.env实现环境变量的修改
All versions of php-apollo with dependencies
PHP Build Version
Package Version
No informations.
The package shershon/php-apollo contains the following files
Loading the files please wait ....