kphoen / doctor
This package is abandoned and no longer maintained.
No replacement package was suggested.
Metadata extraction made simple
dev-behat
2015-03-19 20:24 UTC
Requires
- php: >=5.4
Requires (Dev)
- behat/behat: ~3.0
- daylerees/kurenai: ~1.1
- mikey179/vfsstream: ~1.0
- phpoffice/phpword: ~0.12
- phpunit/phpunit: ~4.0
- smalot/pdfparser: ~0.9
- symfony/finder: ~2.1
- symfony/yaml: ~2.0
Suggests
- daylerees/kurenai: To extract metadata from markdown files
- phpoffice/phpword: To extract metadata from doc, docx, rtf and odt files
- smalot/pdfparser: To extract metadata from pdf files
This package is auto-updated.
Last update: 2022-02-01 12:45:30 UTC
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.