2017 © Pedro Peláez
 

library doctor

Metadata extraction made simple

image

kphoen/doctor

Metadata extraction made simple

  • Sunday, May 29, 2016
  • by K-Phoen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Doctor Build Status

Metadata extraction made simple., (*1)

This library currently supports the following formats:, (*2)

  • Word-related: odt, doc, docx, rtf;
  • pdf;
  • markdown.

Status

This project is DEPRECATED and should NOT be used., (*3)

If someone magically appears and wants to maintain this project, I'll gladly give access to this repository., (*4)

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., (*5)

The Versions

29/05 2016

dev-master

9999999-dev

Metadata extraction made simple

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

markdown pdf extraction extractor metadata word office odt

19/03 2015

dev-behat

dev-behat

Metadata extraction made simple

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

markdown pdf extraction extractor metadata word office odt