Download the PHP package coldwinds/torrent-rw without Composer

On this page you can find all versions of the php package coldwinds/torrent-rw. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package torrent-rw

Torrent

PHP version 5.2+

LICENSE: This source file is subject to version 3 of the GNU GPL that is available through the world-wide-web at the following URI: http://www.gnu.org/licenses/gpl.html. If you did not receive a copy of the GNU GPL License and are unable to obtain it through the web, please send a note to [email protected] so I can mail you a copy.

1) Features:

2) Usage example require_once 'Torrent.php';

// get torrent infos $torrent = new Torrent( './test.torrent' ); echo '
private: ', $torrent->is_private() ? 'yes' : 'no', '
annonce: ', $torrent->announce(), '
name: ', $torrent->name(), '
comment: ', $torrent->comment(), '
piece_length: ', $torrent->piece_length(), '
size: ', $torrent->size( 2 ), '
hash info: ', $torrent->hash_info(), '
stats: '; var_dump( $torrent->scrape() ); echo '
content: '; var_dump( $torrent->content() ); echo '
source: ', $torrent;

// get magnet link $torrent->magnet(); // use $torrent->magnet( false ); to get non html encoded ampersand

// create torrent $torrent = new Torrent( array( 'test.mp3', 'test.jpg' ), 'http://torrent.tracker/annonce' ); $torrent->save('test.torrent'); // save to disk

// modify torrent $torrent->announce('http://alternate-torrent.tracker/annonce'); // add a tracker $torrent->announce(false); // reset announce trackers $torrent->announce(array('http://torrent.tracker/annonce', 'http://alternate-torrent.tracker/annonce')); // set tracker(s), it also works with a 'one tracker' array... $torrent->announce(array(array('http://torrent.tracker/annonce', 'http://alternate-torrent.tracker/annonce'), 'http://another-torrent.tracker/annonce')); // set tiered trackers $torrent->comment('hello world'); $torrent->name('test torrent'); $torrent->is_private(true); $torrent->httpseeds('http://file-hosting.domain/path/'); // Bittornado implementation $torrent->url_list(array('http://file-hosting.domain/path/','http://another-file-hosting.domain/path/')); // GetRight implementation

// print errors if ( $errors = $torrent->errors() ) var_dump( $errors );

// send to user $torrent->send();


All versions of torrent-rw with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coldwinds/torrent-rw contains the following files

Loading the files please wait ....