diff --git a/Lib/phpKhelper b/Lib/phpKhelper index 6f119af..92aea82 160000 --- a/Lib/phpKhelper +++ b/Lib/phpKhelper @@ -1 +1 @@ -Subproject commit 6f119afcecdb471394a743c2f2c35233a4d3725e +Subproject commit 92aea82d609d3c9dc39952c9e386578f532e7140 diff --git a/README.md b/README.md index b6a06e1..acf5987 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ | | | |:----------|:------------------------------------------------| -| Version | 02.03.00 | +| Version | 2.4.0 | +| Changes | https://github.com/viharm/phpAria2rpc/pull/7 | | Download | https://github.com/viharm/phpAria2rpc/releases | | Issues | https://github.com/viharm/phpAria2rpc/issues | | License | Modified BSD (3-clause) | @@ -30,6 +31,36 @@ Based on *[shiny](https://github.com/shiny)*'s *[php-aria2](https://github.com/s Get the release archives from [downloads](https://github.com/viharm/phpAria2rpc/releases) +### Composer + +From v2.4.0 onwards, *phpAria2rpc* is enabled for *Composer*, and is available on *Packagist* as `viharm`/`php-aria2-rpc`. This library can be installed standalone or included in any project with *Composer* usage. + + +#### Standalone + +A standalone copy of this project can be installed with *Composer* + +``` +php compser.phar create-project viharm/php-aria2-rpc phpAria2rpc +``` + +The above command will install *phpAria2rpc* in a sub-directory `phpAria2rpc` of the current working directory. + + +#### Dependency + +To make *Composer* automatically install *phpAria2rpc* as a dependency include the following in your `composer.json` + +```json +{ + "require": { + "viharm/php-aria2-rpc": "^2.4.0" + } +} +``` + +This will install *phpAria2rpc* in the standard `vendor` sub-directory of a typical *Composer*-enabled project. + #### Clone @@ -592,6 +623,18 @@ Copyright (c) 2013 Rokas Å leinius (raveren at gmail dot com) Copyright (c) Codiad & Kent Safranski (codiad.com) +#### CodeGit + +*CodeGit* *Git* plugin for *Codiad* (https://github.com/Andr3as/Codiad-CodeGit), used under a MIT-style license. + +Copyright (c) Andr3as + + +#### VS Code + +*Visual Studio Code* code editor, used under the *Microsoft Software License*. + + #### jEdit *jEdit* text editor (http://www.jedit.org/), used under the GNU GPL v2. @@ -599,6 +642,13 @@ Copyright (c) Codiad & Kent Safranski (codiad.com) Copyright (C) jEdit authors. +#### Ungit + +*Ungit* client for *Git* (https://github.com/FredrikNoren/ungit) used under the MIT license + +Copyright (C) Fredrik Norén + + ### GitHub Hosted by *GitHub* code repository (github.com). diff --git a/VERSION b/VERSION index cbe55e8..9a96c4f 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -02.03.00 -(2016-11-19) \ No newline at end of file +2.4.0 +(2018-09-26) \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..9f72248 --- /dev/null +++ b/composer.json @@ -0,0 +1,32 @@ +{ + "name": "viharm/php-aria2-rpc", + "type": "library", + "description": "A PHP library to interact with Aria2 download manager via the Aria2 RPC interface", + "keywords": ["aria2","php","rpc"], + "homepage": "https://github.com/viharm/phpAria2rpc", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Viharm", + "email": "viharm@malviya.net", + "homepage": "http://viharm.malviya.net", + "role": "Developer" + } + ], + "support": { + "issues": "https://github.com/viharm/phpAria2rpc/issues" + }, + "require": { + "php": ">=5.4.0", + "mnsami/composer-custom-directory-installer": "1.1.*", + "viharm/php-khelper": "^1.4.1" + }, + "config": { + "vendor-dir": "Lib" + }, + "extra": { + "installer-paths": { + "./Lib/phpKhelper": ["viharm/php-khelper"] + } + } +}