Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v 0.3 : Add data serialization #4

Merged
merged 9 commits into from
Jan 14, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ before_script:
- php composer.phar install --dev

php:
- 5.3.3
- 5.3
- 5.4
- 5.5
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
MediaVorus - A tiny PHP lib for playing with MultiMedia Files
=============================================================
MediaVorus
==========

[![Build Status](https://secure.travis-ci.org/romainneutron/MediaVorus.png?branch=master)](http://travis-ci.org/romainneutron/MediaVorus)

This lib is under heavy development !
A lib to get every technical informations about your files

#Exemple

```php
<?php

use MediaVorus\MediaVorus;
use MediaVorus\Media\Image;
use MediaVorus\Media\Video;

$mediavorus = MediaVorus::create();

$Image = $mediavorus->guess('RawCanon.cr2');

echo sprintf("File dimensions are %d x %d", $Image->getWidth(), $Image->getHeight());
echo sprintf("Photo as been taken at %s Shutter Speed", $Image->getShutterSpeed());

$Video = $mediavorus->guess('Movie.mpeg');

echo sprintf("Movie duration last %s s.", $Video->getDuration());
echo sprintf("Movie has been shot at longitude %s, latitude %s", $Video->getLongitude(), $Video->getLatitude());
$image = $mediavorus->guess('RawCanon.cr2');

echo sprintf("Photo as been taken with a %s Shutter Speed", $Image->getShutterSpeed());
```

#Documentation
Expand All @@ -34,5 +24,4 @@ Documentation is hosted on Read The Docs http://mediavorus.readthedocs.org/

#License

MediaVorus is released under MIT license http://opensource.org/licenses/MIT

MediaVorus is released under the [MIT license](http://opensource.org/licenses/MIT)
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@
],
"require": {
"php": ">=5.3.0",
"doctrine/common": ">=2.2, <=2.3.x-dev",
"symfony/http-foundation": ">2.0,<=2.2",
"symfony/console": ">2.0,<=2.2",
"phpexiftool/phpexiftool": "dev-master",
"php-ffmpeg/php-ffmpeg": "dev-master",
"monolog/monolog": "1.*"
},
"suggest": {
"jms/serializer": "To serialize Medias",
"symfony/yaml": "To serialize Medias in Yaml format"
},
"minimum-stability": "dev",
"require-dev": {
"fabpot/php-cs-fixer": "*",
"silex/silex": "1.0.*-dev"
"silex/silex": "1.0.*-dev",
"symfony/yaml": "*",
"jms/serializer": "1.0.x-dev"
},
"autoload": {
"psr-0": {
Expand Down
Loading