Skip to content

Commit

Permalink
chore(composer): update composer info
Browse files Browse the repository at this point in the history
+ remove pear support
  • Loading branch information
char0n committed Feb 3, 2017
1 parent 349a640 commit f4a74aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 184 deletions.
42 changes: 5 additions & 37 deletions README.rst
Expand Up @@ -37,11 +37,6 @@ To run the test install phpunit (http://www.phpunit.de/) and run: ::
Installation
------------

You can easily install FFmpegPHP via PEAR framework: ::

$ sudo pear channel-discover pear.codescale.net
$ sudo pear install codescale/FFmpegPHP2

or download package from github.com: ::

$ wget http://github.com/char0n/ffmpeg-php/tarball/master
Expand All @@ -50,18 +45,14 @@ or to install via composer (http://getcomposer.org/) place the following in your

{
"require": {
"codescale/ffmpeg-php": "dev-master"
"char0n/ffmpeg-php": "dev-master"
}
}


Using FFmpegPHP
---------------

Package installed via PEAR channel: ::

require_once 'FFmpegPHP2/FFmpegAutoloader.php';

Package downloaded from github.com and unpacked into certain directory: ::

require_once 'PATH_TO_YOUR_DIRECTORY/FFmpegAutoloader.php';
Expand All @@ -70,9 +61,9 @@ Package downloaded from github.com and unpacked into certain directory: ::
Author
------

| char0n (Vladimír Gorej, CodeScale s.r.o.)
| email: gorej@codescale.net
| web: http://www.codescale.net
| char0n (Vladimír Gorej.)
| email: vladimir.gorej@gmail.com
| web: https://www.linkedin.com/in/vladimirgorej/
Documentation
-------------
Expand All @@ -83,35 +74,12 @@ using PhpDocumentor with following commnad: ::
$ phpdoc -o HTML:Smarty:HandS -d . -t docs


Generating package.xml
----------------------
First temporarily remove .git/ directory from project root. It causes *pfm* not to work correctly.
::

$ pear install PEAR_PackageFileManager2
$ pear install PEAR_PackageFileManager_Cli
$ pfm
$ pear package package.xml
$ pear install/upgrade ./{PACKAGE_NAME} # Verify is package is installable

Create *test.php* with contents and verify installation was successful:::

<?php
require_once 'FFmpegPHP2/FFmpegAutoloader.php';

And run the file with:::

$ php test.php


References
----------

- http://github.com/CodeScaleInc/ffmpeg-php
- http://github.com/char0n/ffmpeg-php
- http://www.phpclasses.org/package/5977-PHP-Manipulate-video-files-using-the-ffmpeg-program.html
- http://freshmeat.net/projects/ffmpegphp
- http://www.codescale.net/en/community/#ffmpegphp
- http://pear.codescale.net/
- http://www.phpdoc.org/
- http://www.phpunit.de/
- http://pear.php.net/
10 changes: 5 additions & 5 deletions composer.json
@@ -1,5 +1,5 @@
{
"name": "codescale/ffmpeg-php",
"name": "char0n/ffmpeg-php",
"type": "library",
"description": "PHP wrapper for FFmpeg application",
"version": "2.7.0",

This comment has been minimized.

Copy link
@theMadness

theMadness Feb 3, 2017

Contributor

2.8.0?

This comment has been minimized.

Copy link
@char0n

char0n Feb 3, 2017

Author Owner

Fixed in 71bb9b6

But It seems I am not able to get it into packagist somehow.

Expand All @@ -8,10 +8,10 @@
"license": "New BSD",
"authors": [
{
"name": "char0n (Vladimír Gorej, CodeScale s.r.o.)",
"email": "gorej@codescale.net",
"homepage": "http://www.codescale.net/",
"role": "Development lead"
"name": "char0n (Vladimír Gorej)",
"email": "vladimir.gorej@gmail.com",
"homepage": "https://www.linkedin.com/in/vladimirgorej/",
"role": "Software engineer"
}
],
"require": {
Expand Down
142 changes: 0 additions & 142 deletions package.xml

This file was deleted.

0 comments on commit f4a74aa

Please sign in to comment.