PHPackages                             nicoswd/putio - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. nicoswd/putio

ActiveLibrary[File &amp; Storage](/categories/file-storage)

nicoswd/putio
=============

PHP 5.4 wrapper for PutIO's OAuth API (v2)

0.3.1(11y ago)163305[1 issues](https://github.com/nicoSWD/put.io-api-v2/issues)1MITPHPPHP &gt;=5.4

Since Feb 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nicoSWD/put.io-api-v2)[ Packagist](https://packagist.org/packages/nicoswd/putio)[ Docs](https://github.com/nicoSWD/put.io-api-v2)[ RSS](/packages/nicoswd-putio/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (5)Used By (1)

Put.io OAuth API Wrapper for PHP 5.4
------------------------------------

[](#putio-oauth-api-wrapper-for-php-54)

[![Latest Stable Version](https://camo.githubusercontent.com/374f6518c1ef5d6444bfbb742739839b7382d4f468c8670b83793dfe809ebd57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636f7377642f707574696f2e737667)](https://packagist.org/packages/nicoswd/putio)[![Build Status](https://camo.githubusercontent.com/9c6a9b61b7d6ca8f93d5a3912d1e40bd64af036a045f4e81f774ccdb1be0fd96/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69636f5357442f7075742e696f2d6170692d76322f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/build-status/master) [![Code Coverage](https://camo.githubusercontent.com/cf5bd2145ca0a92ab653aff707c9d05187d2bbc587b58c67d64c8cce332f0f22/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e69636f5357442f7075742e696f2d6170692d76322f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/506caf9b25eb511ba147ca84e7225fa3ac7a8ca59f62779ce2edc9792614835e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e69636f7377642f7075742e696f2d6170692d76322e7376673f623d6d6173746572)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/?branch=master)

[![Put.io Logo](https://camo.githubusercontent.com/b47388b40fcf05f14c943d668a1a8c9cb013b58719e8285d501793838b0c2ba4/687474703a2f2f7331352e706f7374696d672e6f72672f6a326577656c7a356e2f707574696f5f6c6f676f2e706e67)](https://put.io/)

This is a powerful PHP library for [put.io](https://put.io/)'s [OAuth2 API](https://api.put.io/v2/docs/). It supports all features that put.io's API provides natively, including file uploads, downloads, transfers, friends, etc... No dependencies required.

Take a look at the [Wiki](https://github.com/nicoSWD/put.io-api-v2/wiki/) and [put.io's API documentation](https://api.put.io/v2/docs/) to get started.

Find me on Twitter: @[nicoSWD](https://twitter.com/nicoSWD)

**Take a look at the experimental [branch for PHP 7](https://github.com/nicoSWD/put.io-api-v2/tree/php7) with strict type hints and return types**

Install
-------

[](#install)

Via Composer

```
$ composer require "nicoswd/putio": "0.3.*"
```

Via git

```
$ git clone git@github.com:nicoSWD/put.io-api-v2.git
```

Usage
-----

[](#usage)

```
$putio = new PutIO\API($accessToken);

// Retrieve a an array of files on your account.
$files = $putio->files->listall();

// Upload a file.
$file = 'path/to/file.jpg';
$putio->files->upload($file);

// Download a file.
$fileID = 1234;
$saveAs = 'my-file.jpg';
$putio->files->download($fileID, $saveAs);

// Search for files you have access to.
$query = 'my file';
$files = $putio->files->search($query);

// Add a new transfer (file or torrent)
$url = 'http://torrent.site.com/legal_video.torrent';
$putio->transfers->add($url);

// Get status of a transfer
$transferID = 1234;
$info = $putio->transfers->info($transferID);

// And a lot more...
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Pull requests are very welcome! If they include tests, even better. This project follows PSR-2 coding standards, please make sure your pull requestst do too.

License
-------

[](#license)

[![License](https://camo.githubusercontent.com/ae7e5a4a41a0abae7d43ee3007448bcd82f0adc284a1d3e5b5d768d11b3f32ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e69636f5357442f707574696f2e737667)](https://packagist.org/packages/nicoswd/putio)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

4102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e1cb99ed5c45d41926e55a1a0868f9ecd1b71b026ec8396aef537515786f244?d=identicon)[nicoSWD](/maintainers/nicoSWD)

---

Top Contributors

[![ablyler](https://avatars.githubusercontent.com/u/137642?v=4)](https://github.com/ablyler "ablyler (1 commits)")[![tiefpunkt](https://avatars.githubusercontent.com/u/434444?v=4)](https://github.com/tiefpunkt "tiefpunkt (1 commits)")

---

Tags

apicloudstoragetorrentbittorrentput.io

### Embed Badge

![Health badge](/badges/nicoswd-putio/health.svg)

```
[![Health](https://phpackages.com/badges/nicoswd-putio/health.svg)](https://phpackages.com/packages/nicoswd-putio)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[beberlei/azure-blob-storage

Small library to access Microsoft Windows Azure Blob Storage with a Service or a StreamWrapper.

2352.4k2](/packages/beberlei-azure-blob-storage)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
