thefunpower/readlines
最新稳定版本:v1.0.1
Composer 安装命令:
composer require thefunpower/readlines
包简介
read php files get lines and content
关键字:
README 文档
README
读取文件行数及输出代码,一般用于申请软著
安装
composer require thefunpower/readlines
使用
$readlines = new \CReadLines\Reader();
//基础目录
$readlines->line_base_dir = $base = __DIR__.'/../';
//计算行数的目录
$readlines->line_code_path = [
$base.'core/sys',
$base.'core/employee',
$base.'base',
];
$readlines->output = $base.'/lines.txt';
$readlines->allow_ext = ['php']; //默认是PHP,可不用添加此行
$readlines->run();
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-08-02