Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaconf与yaf的\Yaf\Config\Ini 功能有什么不同? #68

Closed
crytjy opened this issue Jan 27, 2022 · 2 comments
Closed

yaconf与yaf的\Yaf\Config\Ini 功能有什么不同? #68

crytjy opened this issue Jan 27, 2022 · 2 comments

Comments

@crytjy
Copy link

crytjy commented Jan 27, 2022

yaf 里面也有配置的操作,\Yaf\Config\Ini 和 yaconf 的实现原理有什么不同吗?如果我将config文件都防止在公用类库,使用\Yaf\Config\Ini获取配置,那还有必要使用 yaconf吗?

@crytjy crytjy changed the title yaconf与yaf的config功能有什么不同? yaconf与yaf的\Yaf\Config\Ini 功能有什么不同? Jan 27, 2022
@letwang
Copy link

letwang commented Jan 29, 2022

Yaf中的Config只支持1个固定文件的读取
Yaconf可以支持很多 当做配置字典使用 请参考:HookPHP
https://github.com/letwang/HookPHP/tree/master/conf

@letwang
Copy link

letwang commented May 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants