For composer installation,
1) add:
"require": {
"sharapov/php-ffmpeg-extensions": "0.9.3"
},
to your composer.json file and update your dependencies.
$ composer update
2) Or you can run from shell:
$ composer require sharapov/php-ffmpeg-extensions:0.9.3
Version to use can be defined in the following ways:
1.2
You can specific the version of package (ex., 0.9.3
or 0.6.1
)
- The
^
(caret) operator means any non-breaking version / until major (e.g., ^1.2.3
is equivalent to >=1.2.3<2.0.0
)
- The
~
(tilde) operator means approximate / increment right most digit (e.g., ~1.2
is equivalent to >=1.2<2.0.0
or ~1.2.3
is equivalent to >=1.2.3 <1.3.0
)
- The
*
(star) operator means all versions on this level (e.g., 1.0.*
is the equivalent of >=1.0<1.1
)
- The
1.0-2.0
is the the equivalent of >=1.0.0<2.1
For more look a doc of composer https://getcomposer.org/doc/