佛祖保佑,永无bug!:) just for fun ! 自动在PHP代码头部加上神注释,默认支持utf8和GBK编码的php文件。
-
1.composer 引入
composer require leon0204/bugfree dev-master
-
2.在文件中引入
use BugFree\Utils as Utils;
-
3.为filepath添加佛祖庇护:)
$res = Utils\AddNote::bugfree($filepath);
- 请确保文件有足够的sudo权限
-
仅供娱乐。祝编码愉快 ^_^
-
v1.1 init
-
v1.2 添加freebug文件
-
V1.3 添加单文件佛祖守卫 :)