kphoen/doctor
Composer 安装命令:
composer require kphoen/doctor
包简介
Metadata extraction made simple
README 文档
README
Metadata extraction made simple.
This library currently supports the following formats:
- Word-related: odt, doc, docx, rtf;
- pdf;
- markdown.
Status
This project is DEPRECATED and should NOT be used.
If someone magically appears and wants to maintain this project, I'll gladly give access to this repository.
Usage
$wordExtractor = new \Doctor\Extractor\Word(); $doctor = new \Doctor\Doctor([ $wordExtractor, ]); var_dump($doctor->extract('sample_word.docx')); /* array(5) { 'author' => string(7) "Kévin " 'title' => string(13) "Title" 'creation_date' => class DateTime#6 (3) { public $date => string(26) "2015-03-15 16:00:44.000000" public $timezone_type => int(3) public $timezone => string(12) "Europe/Paris" } 'keywords' => array(1) { [0] => string(4) "test" } 'content' => string(0) "" } */
License
This library is under the MIT licence.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-15