varavan/hints
Composer 安装命令:
composer require varavan/hints
包简介
Knowledge sharing made easy
README 文档
README
Microlearning tool for sharing knowledge on php projects, no mather how complex is the project. Have you ever found yourself trying to fix something for ages, then someone else tell you an small hint that makes you resolve it within minutes? That is the purpose for of this project. To have a set of hints that can be easily add or shown from your terminal.
Example
show hint related to some code
Installation
Install it via composer with composer require varavan/hints
Usage
There is an entry point for the application which is the file hints. After the installation you can call it via vendor/varavan/hints/hints As long as this project is thought to be implemented on php projects, the app is written on php.
I would encourage you to create a symlink between the executable file hints and your bin folder. So it is easier to include hints on your project
I would advice you to call hints command on composer post-scripts, so everyone can refresh thoose knowleage pills on every vendor updates
Please notice that the storage for this application is a file called hints.json that will be versioned
adding hints
hints add 'content of the hint'
- option to add some author metadata --author 'AUTHOR NAME'
- option to add some tags as metadata --tags 'ADD TAGS SEPARATE BY COMMA'
- option to point a file --file-path 'FILE_PATH_FOR_CONTENT_RELATED'
- option to point a line --file-line 'FILE_LINE'
listing hints
hints show
- option to filter by tags --tags 'tag'
- option to filter by author --author
- option to filter by file --file-path
- option to set up a limit (by default 1) --limit
For example hints show --author 'Jhon Doe' --tags 'set-up,init' --limit 15
Status
This library is still on development. You can find some bugs and errors on it. Please report it :)
varavan/hints 适用场景与选型建议
varavan/hints 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 127 次下载、GitHub Stars 达 2, 最近一次更新时间为 2016 年 10 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 varavan/hints 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 varavan/hints 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 127
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-10-31