Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boxuk/boxukdescribrbundle
Integrates the Describr library into your Symfony2 application
https://github.com/boxuk/boxukdescribrbundle
Last synced: 5 days ago
JSON representation
Integrates the Describr library into your Symfony2 application
- Host: GitHub
- URL: https://github.com/boxuk/boxukdescribrbundle
- Owner: boxuk
- Created: 2012-11-08T17:07:31.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-15T17:36:51.000Z (over 11 years ago)
- Last Synced: 2024-04-14T11:50:54.628Z (7 months ago)
- Language: PHP
- Size: 113 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Introduction
============This bundle integrates the [Describr](http://github.com/boxuk/describr) library into your Symfony2 project, allowing it to examine files and extract metadata from them.
Installation
------------## Download the bundle
You can download an archive of the bundle and unpack it in the `vendor/bundles/BoxUK/Bundles/DescribrBundle` directory of your application.
### Installing via Composer (recommended)
The bundle can be installed using [Composer](http://getcomposer.org) by adding the following to your `composer.json`:
require: {
"boxuk/describr-bundle": "dev-master"
}## Register the bundle
You must register the bundle in your kernel:
``` php
getContainer()->get('boxuk_describr.analyzer');
$metadata = $service->analyze($file);
// Instance of BoxUK\Describr\MediaFileAttributes
return $metadata;
}
```See the [Describr documentation](http://github.com/boxuk/describr#using-describr) for more details.