From 462663fbddd77269c617e621205c5a02b9e8be48 Mon Sep 17 00:00:00 2001 From: a3020 Date: Tue, 20 Dec 2016 11:42:05 +0100 Subject: [PATCH 1/2] Explicitly --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f7cc1f..62d47d5 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Check another amazing repo : [PHP FFMpeg extras](https://github.com/alchemy-fr/P This library requires a working FFMpeg install. You will need both FFMpeg and FFProbe binaries to use it. Be sure that these binaries can be located with system PATH to get the benefit of the binary detection, -otherwise you should have to explicitely give the binaries path on load. +otherwise you should have to explicitly give the binaries path on load. For Windows users : Please find the binaries at http://ffmpeg.zeranoe.com/builds/. @@ -69,7 +69,7 @@ $ffmpeg = FFMpeg\FFMpeg::create(); ``` FFMpeg will autodetect ffmpeg and ffprobe binaries. If you want to give binary -paths explicitely, you can pass an array as configuration. A `Psr\Logger\LoggerInterface` +paths explicitly, you can pass an array as configuration. A `Psr\Logger\LoggerInterface` can also be passed to log binary executions. ```php From f0ca0c950fb53bff05a92683ee85955bd9fe20dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Bl=C3=A4ttermann?= Date: Wed, 4 Jan 2017 10:12:45 +0100 Subject: [PATCH 2/2] Change installation method to composer require The composer.json SHOULD NOT be edited by hand for installation. --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 62d47d5..81f809e 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,8 @@ appear in latest ffmpeg version. The recommended way to install PHP-FFMpeg is through [Composer](https://getcomposer.org). -```json -{ - "require": { - "php-ffmpeg/php-ffmpeg": "~0.5" - } -} +```bash +$ composer require php-ffmpeg/php-ffmpeg ``` ## Basic Usage