PHP Classes
elePHPant
Icontem

PHP PRONOM drip: Recognize file formats using PRONOM registry

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-04-02 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 97 All time: 9,090 This week: 424Up
Version License PHP version Categories
drip 1.0.0GNU General Publi...5.2PHP 5, Files and Folders, Parsers
Description Author

This package recognize file formats and versions using the PRONOM registry.

It uses the PRONOM registry developed by the Digital Preservation Department of the National Archives of the United Kingdom to identify format and version of a file or a stream of data

The class uses a DROID utility signature file that can be downloaded on their web site.

Innovation Award
PHP Programming Innovation award nominee
April 2015
Number 13
Many applications generate files in custom formats that may be hard to recognize without knowledge of the way the data is structured in the files.

This class provides a solution to recognize many types of file formats using the PRONOM file format signature registry.

Manuel Lemos
  Performance   Level  
Name: Cyril Vazquez <contact>
Classes: 1 package by
Country: France France
Age: ???
All time rank: 4186107 in France France
Week rank: 732 Up23 in France France Up
Innovation award
Innovation award
Nominee: 1x

Details
You can download the latest DROID Signature File at http://www.nationalarchives.gov.uk/aboutapps/pronom/droid-signature-files.htm

Basic use:

- require class scripts
- instanciate new drip, providing with a Droid Signature file path

- use drip::file to get the format identification for a file
- use drip::buffer to get the format from a stream contents
  Files folder image Files  
File Role Description
Accessible without login Plain text file README Doc. README
Plain text file abstractFragment.php Class Abstract class for right and left fragments
Plain text file abstractSequence.php Class Abstract class for byte sequences
Plain text file byteSequence.php Class Byte sequence class
Plain text file drip.php Class The main drip class
Accessible without login Plain text file example.php Example Example script
Plain text file format.php Class Class for formats
Plain text file internalSignature.php Class Internal Signature class
Plain text file leftFragment.php Class Left fragment class
Accessible without login Plain text file LICENSE Lic. License information
Plain text file rightFragment.php Class Right fragment class
Plain text file subSequence.php Class Sub sequence class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:97
This week:0
All time:9,090
This week:424Up