PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 102 All time: 9,659 This week: 151Up
Version License PHP version Categories
drip 1.0.0GNU General Publi...5.2PHP 5, Files and Folders, Parsers


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
Picture of Cyril Vazquez
  Performance   Level  
Name: Cyril Vazquez <contact>
Classes: 1 package by
Country: France France
Age: ???
All time rank: 4368110 in France France
Week rank: 438 Up14 in France France Up
Innovation award
Innovation award
Nominee: 1x

You can download the latest DROID Signature File at 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  
This week:0
All time:9,659
This week:151Up