Download the PHP package automattic/wistia-php without Composer

On this page you can find all versions of the php package automattic/wistia-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 wistia-php

Wistia PHP

Latest Version

A PHP client for consuming the Wistia API.

Install

Via Composer

Methods & Properties

Method Parameters
get_client N/A
get_token N/A
list_projects N/A
show_project (string) $project_hashed_id
create_project (array) $project_data
update_project (string) $project_hashed_id, (array) $project_data
delete_project (string) $project_hashed_id
copy_project (string) $project_hashed_id
list_sharings (string) $project_hashed_id
show_sharing (string) $project_hashed_id, (int) $sharing_id
create_sharing (string) $project_hashed_id
update_sharing (string) $project_hashed_id, (int) $sharing_id, (array) $sharing_data
delete_sharing (string) $project_hashed_id, (int) $sharing_id
list_medias N/A
show_media (string) $media_hashed_id
create_media (string) $file_path, (array) $media_data
update_media (string) $media_hashed_id, (array) $media_data
delete_media (string) $media_hashed_id
copy_media (string) $media_hashed_id
stats_media (string) $media_hashed_id
show_account N/A
show_customizations (string) $media_hashed_id
create_customizations (string) $media_hashed_id, (array) $customizations_data
update_customizations (string) $media_hashed_id, (array) $customizations_data
delete_customizations (string) $media_hashed_id
list_captions (string) $media_hashed_id
show_captions (string) $media_hashed_id, (string) $language_code
create_captions (string) $media_hashed_id, (array) $captions_data
update_captions (string) $media_hashed_id, (array) $captions_data
delete_captions (string) $media_hashed_id, (string) $language_code
Properties Type
$client object
$format string
$last_response_code int

Constructor

When instantiating the library, you need to pass an array of parameters to the constructor.

The array must include the index token which contains your Wistia token. Optionally the array can include the format of the responses, the value can be json (default), or xml. If it does not exist, json will be used.

Tests

To run PHPUnit tests on this library, copy the file tests/config.sample.php, rename it to config.php and fill in the requested details.

Then open the terminal and navigate to the root of the library and use this command:

Note: Tests may fail if you run them too many times consecutively. There's a limit of 1000 requests/hour from Wistia, also the upload of dummy data may fail due to the internet connection problems and this will cause the tests to fail too.

Credits

License

Wistia PHP - PHP wrapper to consume Wistia API

Copyright (C) 2015 Automattic

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Please see License File for more information.


All versions of wistia-php with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.1
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 automattic/wistia-php contains the following files

Loading the files please wait ....