PHPackages                             oneblackbear/mediaserver - 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. oneblackbear/mediaserver

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

oneblackbear/mediaserver
========================

Helpers for OBB Media Serving

08PHP

Since Jan 15Pushed 13y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

\#One Black Bear Mediaserver

Delegate image serving and resizing to a more powerful server, whilst maintaining a single local copy.

Installation
------------

[](#installation)

Installation is via composer for example add this to your composer.json:

```
"require": {
  "php": ">=5.4",
  "oneblackbear/mediaserver": "1.0.*"
}

```

USAGE
-----

[](#usage)

For simple out of the box usage you will need the following configuration items

- The server acting as a media server
- A private security key (which will prevent abuse by unauthorised users)
- A full url to an image you would like to serve.

### Basic Example

[](#basic-example)

Use the following code to get up and running.

```
