{"id":21846129,"url":"https://github.com/owenvoke/worldwidetorrents-php","last_synced_at":"2026-05-15T22:41:26.033Z","repository":{"id":57046122,"uuid":"77928261","full_name":"owenvoke/worldwidetorrents-php","owner":"owenvoke","description":"An easy to use wrapper for the WorldWideTorrents API written in PHP.","archived":false,"fork":false,"pushed_at":"2017-12-06T10:59:26.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-29T01:31:05.159Z","etag":null,"topics":["php-wrapper","worldwidetorrents","wwt-api"],"latest_commit_sha":null,"homepage":"https://packagist.org/p/pxgamer/worldwidetorrents-php","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owenvoke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T15:18:02.000Z","updated_at":"2017-09-02T12:09:37.000Z","dependencies_parsed_at":"2022-08-24T05:00:18.738Z","dependency_job_id":null,"html_url":"https://github.com/owenvoke/worldwidetorrents-php","commit_stats":null,"previous_names":["pxgamer/worldwidetorrents-php"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/owenvoke/worldwidetorrents-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fworldwidetorrents-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fworldwidetorrents-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fworldwidetorrents-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fworldwidetorrents-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owenvoke","download_url":"https://codeload.github.com/owenvoke/worldwidetorrents-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fworldwidetorrents-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271901696,"owners_count":24841121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php-wrapper","worldwidetorrents","wwt-api"],"created_at":"2024-11-27T23:12:57.735Z","updated_at":"2026-05-15T22:41:21.006Z","avatar_url":"https://github.com/owenvoke.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# worldwidetorrents-php\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-travis]][link-travis]\n[![Style CI][ico-styleci]][link-styleci]\n[![Code Coverage][ico-code-quality]][link-code-quality]\n[![Total Downloads][ico-downloads]][link-downloads]\n\nAn easy to use wrapper for the WorldWideTorrents API written in PHP.\n\n## Structure\n\n```\nsrc/\ntests/\nvendor/\n```\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require pxgamer/worldwidetorrents-php\n```\n\n## Usage\n\n```php\n\n$client = new Client();\n\n// Use the specific classes as their short names\nuse \\pxgamer\\WorldWideTorrents;\n\n// Create a new Client instance\n$client = new WorldWideTorrents\\Client();\n$client-\u003esetAuthKey('API_KEY');\n\n// Initialise a new instance of each class\n$group  = new WorldWideTorrents\\Group($client);\n$mail  = new WorldWideTorrents\\Mail($client);\n$torrent = new WorldWideTorrents\\Torrent($client);\n$user = new WorldWideTorrents\\User($client);\n$account = new WorldWideTorrents\\Account($client);\n```\n\n### Methods\n\n#### Client Class\n\n```php\n/**\n * This is required to be initialised first.\n * It must be passed into all other classes.\n */\nuse \\pxgamer\\WorldWideTorrents\\Client;\n$client = new Client;\n$client-\u003esetAuthKey('API_KEY');\n```\n\n### Group Class\n\n```php\nuse \\pxgamer\\WorldWideTorrents\\Group;\n$group = new Group($client);\n```\n\n_Getting a Group's information_\n\n```php\n$group-\u003egetInfo(3);\n```\n\n_Getting a Group's torrents_\n\n```php\n$group-\u003egetTorrents(3);\n```\n\n### Mail Class\n\n_Initialise the Mail class_\n```php\nuse \\pxgamer\\WorldWideTorrents\\Mail;\n$mail = new Mail($client);\n```\n\n_Getting a user's mail stats_\n\n```php\n$mail-\u003egetStats(656);\n```\n\n### Torrent Class\n\n_Initialise the Torrent class_\n\n```php\nuse \\pxgamer\\WorldWideTorrents\\Torrent;\n$torrent = new Torrent($client);\n```\n\n_Getting a torrent's information_\n\n```php\n$torrent-\u003egetInfo(656);\n```\n\n### User Class\n\n_Initialise the User class_\n\n```php\nuse \\pxgamer\\WorldWideTorrents\\User;\n$user = new User($client);\n```\n\n_Getting a user's information_\n\n```php\n$user-\u003egetInfo(656);\n```\n\n_Getting a user's torrents_\n\n```php\n$user-\u003egetTorrents(656);\n```\n\n### Account Class\n\n_Initialise the Account class_\n\n```php\n// Requires the API key to be set in the Client class\nuse \\pxgamer\\WorldWideTorrents\\Account;\n$account = new Account($client);\n```\n\n_Upload a torrent_\n\n```php\n$account-\u003eupload('torrent_title', '@C:\\torrents\\t.torrent', 39);\n```\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Testing\n\n``` bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [pxgamer][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/pxgamer/worldwidetorrents-php.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/pxgamer/worldwidetorrents-php/master.svg?style=flat-square\n[ico-styleci]: https://styleci.io/repos/77928261/shield\n[ico-code-quality]: https://img.shields.io/codecov/c/github/pxgamer/worldwidetorrents-php.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/pxgamer/worldwidetorrents-php.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/pxgamer/worldwidetorrents-php\n[link-travis]: https://travis-ci.org/pxgamer/worldwidetorrents-php\n[link-styleci]: https://styleci.io/repos/77928261\n[link-code-quality]: https://codecov.io/gh/pxgamer/worldwidetorrents-php\n[link-downloads]: https://packagist.org/packages/pxgamer/worldwidetorrents-php\n[link-author]: https://github.com/pxgamer\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fworldwidetorrents-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowenvoke%2Fworldwidetorrents-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fworldwidetorrents-php/lists"}