PHPackages                             sproutvideo/sproutvideo - 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. [Image &amp; Media](/categories/media)
4. /
5. sproutvideo/sproutvideo

ActiveLibrary[Image &amp; Media](/categories/media)

sproutvideo/sproutvideo
=======================

A PHP client for SproutVideo (https://sproutvideo.com)

v2.0.0(1y ago)1280.5k↓10.9%11BSD-4-ClausePHPCI passing

Since Dec 18Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/SproutVideo/sproutvideo-php)[ Packagist](https://packagist.org/packages/sproutvideo/sproutvideo)[ Docs](https://sproutvideo.com)[ RSS](/packages/sproutvideo-sproutvideo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (20)Used By (0)

SproutVideo
===========

[](#sproutvideo)

Use this library to interact with the [SproutVideo API](https://sproutvideo.com/docs/api.html)

Installation
============

[](#installation)

Install with Composer
---------------------

[](#install-with-composer)

If you're using [Composer](https://getcomposer.org/) to manage dependencies, you can add SproutVideo with.

```
{
  "require": {
    "sproutvideo/sproutvideo": "1.5.1"
  }
}
```

Composer will take care of the autoloading for you, so if you require the vendor/autoload.php, you're good to go.

Install source from GitHub
--------------------------

[](#install-source-from-github)

To install the source code:

```
$ git clone git://github.com/sproutvideo/sproutvideo-php.git

```

And including it using the autoloader:

```

```

Getting Started
===============

[](#getting-started)

The first thing you'll need to interact with the SproutVideo API is your API key.

```

```

Videos
======

[](#videos)

The following methods are available: `list_videos`, `get_video`, `create_video`, `update_video`, `replace_video`, `delete_video`.

list\_videos
------------

[](#list_videos)

By default the videos listing is paginated with 25 videos per page and sorted by upload date in ascending order. You can pass two parameters to control the paging: page and per\_page. You can also pass in the id of a tag to just return the videos tagged with that tag.

```
