Download the PHP package maplesnow/laravel-apollo without Composer
On this page you can find all versions of the php package maplesnow/laravel-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 laravel-apollo
Laravel Apollo integration.
用apollo实现配置和语言包的统一的管理和下发
安装
添加 serviceProvider
添加 facade
发布 ServiceProvider
配置.env
参数
开启Apolloagent
发布配置
在apollo配置中心修改配置,点击发布,项目内的.env文件将被重写。
发布语言包
1.添加laravel支持
将 app/config/app.php 中 Illuminate\Translation\TranslationServiceProvider
替换成 Kaishiyoku\Core\Translation\TranslationServiceProvider
- 在apollo配置中心添加前缀为
Lang
的namespace,默认是en
,若需其他语言需加上后缀,多国语言参考 -
使用
yaml
格式编写语言包 - 修改完成后,点击发布
- 项目中的用法
License
laravel-apollo is free software distributed under the terms of the MIT license.
All versions of laravel-apollo with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x|5.8.x
illuminate/console Version 5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x|5.8.x
illuminate/translation Version 5.4.*|5.5.*|5.6.*|5.7.*
illuminate/filesystem Version 5.4.*|5.5.*|5.6.*|5.7.*
symfony/yaml Version 3.*
illuminate/console Version 5.1.x|5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x|5.8.x
illuminate/translation Version 5.4.*|5.5.*|5.6.*|5.7.*
illuminate/filesystem Version 5.4.*|5.5.*|5.6.*|5.7.*
symfony/yaml Version 3.*
The package maplesnow/laravel-apollo contains the following files
Loading the files please wait ....