🚀 Feature: DSN support
评估
这个 Issue 还没有评估数据。
描述
🔖 Feature description
Implement DSN connection strings.
Examples:
unix:///var/run/clamav/clamd.ctl
tcp://localhost:3310
And here's an example of how it could look.
$clam = new Connection('tcp://localhost:3310'); // returns -> new Network('localhost', 3310)
$version = $clam->version();
🎤 Pitch
I would like to use a single environment variable that would include the type of connection and the connection details. I'd like to give users or administrators the option to use the Network class or Pipe class with a single string.
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
- 主要语言
- PHP
- 星标
- 73
- 派生
- 31
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appwrite/php-clamav 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
appwrite/php-clamav#36 ·
-
难度 4/5 3-5 天 新手友好度 25/100
appwrite/php-clamav#33 · 2 条评论 · 1 个 reaction ·
-
🐛 Bug Report: ClamAv::fileScanInStream does not detect eicar.com file可能已有人在做 @vagiguere 于 1241 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 45/100
appwrite/php-clamav#26 · 3 条评论 · 1 个 reaction ·
查看 appwrite/php-clamav 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
omegaup/omegaup#10353 · 1 条评论 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 78/100
-
Featured image not passed to checks in the Tasks column or publish blocks可能已有人在做 @roborourke 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
humanmade/publication-checklist#100 ·
维护者通常 1 天内回复
-
bug customer-reported
难度 2/5 1-3 小时 新手友好度 62/100
MagnaCapax/PMSS#1072 ·
维护者通常 5 天内回复