diff --git a/README.md b/README.md index 31e0d5b..4aaee43 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ Browse the [API](http://readthedocs.org/docs/ffmpeg-php/en/latest/_static/API/) ##Usage Example ```php -setDimensions(320, 240); @@ -28,6 +27,16 @@ $ffmpeg->open('Video.mpeg') ->close(); ``` +##Using with Silex Microframework + +```php +use FFMpeg\SilexServiceProvider; +use Silex\Application; + +$app = new Application(); +$app->register(new FFMpegServiceProvider()); +``` + ##License This project is licensed under the [MIT license](http://opensource.org/licenses/MIT).