2017 © Pedro Peláez
 

library zencoder

Load Zencoder Service via Zend Framework (ZF2) Service Locator

image

thesisplanet/zencoder

Load Zencoder Service via Zend Framework (ZF2) Service Locator

  • Tuesday, February 4, 2014
  • by jackdpeterson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ZF2 Zencoder Service Module

Introduction

Load up Zencoder (Service_Zencoder) through the ZF2 Service Locator., (*1)

Installation

  1. require in composer.json "thesisplanet/zencoder": "dev-master"
  2. add 'Zencoder' to your list of required modules in application.config.php
  3. Copy over vendor/thesisplanet/zencoder/config/zencoder.local.dist.php to config/autoload/zencoder.local.php

Configuration

  1. Set correct api key in config/autoload/zencoder.local.php

Usage

To access Zencoder from a class which implements the ServiceLocatorAwareInterface:, (*2)

  $zencoder = $this->getServiceLocator()->get('ThesisPlanet\ZencoderService');
  This will return an instance of Services_Zencoder.

  From there, you can interact with all of the Zencoder goodness as briefly documented at
  https://github.com/zencoder/zencoder-php


The Versions

04/02 2014

dev-master

9999999-dev http://www.github.com/ThesisPlanet/Zencoder

Load Zencoder Service via Zend Framework (ZF2) Service Locator

  Sources   Download

BSD-3-Clause

The Requires