Download the PHP package zencoder/zencoder-php without Composer

On this page you can find all versions of the php package zencoder/zencoder-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zencoder-php

Zencoder API PHP Library

Company: Brightcove/Zencoder

Version: 2.2.4

Date: 2019-09-05

Repository: http://github.com/zencoder/zencoder-php/

HTTP headers are handled in a case-insensitve manner so that they are compatible with HTTP2.

Author: [Nathan Sutton] (nsutton (a) brightcove (.) com)

Company: Brightcove/Zencoder

Version: 2.2.3

Date: 2014-07-29

Repository: http://github.com/zencoder/zencoder-php/

To help address problems where users cannot modify php.ini to point cURL to their system CA bundle path, or are using a PHP release before 5.3.7, we have extended this library to allow users to set CURLOPT_CAPATH and CURLOPT_CAINFO on the cURL connection used to submit requests.

See also the constructor for Services_Zencoder for more information on the available arguments.

See the cURL CA bundle extraction page for information on obtaining a CA bundle. We recommend using the HTTPS link to download the CA bundle.

Author: [Zac Shenker] (zshenker (a) brightcove (.) com)

Company: Brightcove/Zencoder

Version: 2.2.0

Date: 2014-07-24

Repository: http://github.com/zencoder/zencoder-php/

The Zencoder CA chain certificate has been removed from the library as the bundled cert will be expiring on July 26 2014, and should not be required as PHP/curl should be able to use the built in CA chain. Please contact us at [email protected] with an issues.

Author: [Michael Christopher] (mchristopher (a) brightcove (.) com)

Company: Zencoder - Online Video Encoder

Version: 2.1.1

Date: 2012-08-02

Repository: http://github.com/zencoder/zencoder-php/

Parts of this library are based on http://github.com/twilio/twilio-php

For more details on v2 of the Zencoder API visit http://blog.zencoder.com/2012/01/05/announcing-zencoder-api-v2/

For more details on the Zencoder API requirements visit https://support.brightcove.com/zencoder

To start working with the library, create a new instance of the Services_Zencoder class, passing your API Key as the 1st parameter.

Once you have created the object, you can use it to interact with the API. For full information, see the Documentation folder, but here is a quick overview of some of the functions that can be called:

Any errors will throw a Services_Zencoder_Exception. You can call getErrors() on an exception and it will return any errors received from the Zencoder API.

ENCODING JOB

The ZencoderJob object creates an encoding job using cURL to send JSON formatted parameters to Zencoder's encoding API.

Step 1

Visit the API builder in your account, and execute a successful encoding job.

Step 2

Copy the successful JSON string, starting with the first curly brace "{", and pass it as the parameters for a new ZencoderJob object. Execute the script on your server to test that it works.

Example

Step 3

Modify the above script to meet your needs.

Your API Request History may come in handy.

You can revisit your API builder to add/update parameters of the JSON.

You can translate the JSON string into nested associative arrays so that you can dynamically change attributes like "input".
The previous JSON example would become:

NOTIFICATION HANDLING

The ZencoderOutputNotification class is used to capture and parse JSON data sent from Zencoder to your app when an output file has been completed.

Step 1

Create a script to receive notifications, and upload it to a location on your server that is publicly accessible.

Example

Step 2

In the parameters for an encoding job, add the URL for your script to the notifications array of each output you want to be notified for. Then submit the job to test if it works.

You can view the results at:
https://app.zencoder.com/notifications

Example

Step 3

Modify the above script to meet your needs.

Your notifications page will come in handy.

VERSIONS

Version 2.2.4 - 2019-09-05    HTTP headers are handled in a case-insensitve manner so that they are compatible with HTTP2.
Version 2.2.3 - 2014-07-29    Fixed the versions listed in the user agent and throughout the code
Version 2.2.2 - 2014-07-29    Fixed a bug where api_key was set as api_version in the http connection options
Version 2.2.1 - 2014-07-29    Support setting CURLOPT_CAPATH and CURLOPT_CAINFO on cURL connections.
Version 2.2.0 - 2014-07-24    Removing the bundled CA chain to address expiring intermediate certificate
Version 2.1.1 - 2012-08-02    Fixing issue where jobs index call didn't return jobs as individual objects
Version 2.1.0 - 2012-06-05    Adding support for job-level notifications & merging output with job in notification object
Version 2.0.2 - 2012-01-11    Fixed job creation response object, added documentation to variables
Version 2.0.1 - 2012-01-10    Added ability to get error info from API
Version 2.0   - 2012-01-02    Complete refactoring of library
Version 1.6   - 2011-10-24    Fixed issue with user agents in cURL
Version 1.4   - 2011-10-06    Fixed error with adding api_key to URL
Version 1.3   - 2011-09-21    Fixed bundled SSL certification chain and made catch_and_parse() static
Version 1.2   - 2011-08-06    Added fixes for PHP Notices and SSL handling
Version 1.1   - 2010-06-04    Added General API Requests
Version 1.0   - 2010-04-02    Jobs and Notifications.

All versions of zencoder-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zencoder/zencoder-php contains the following files

Loading the files please wait ....