Download the PHP package coviu/coviu-sdk without Composer

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

coviu-php-sdk - Coviu api php client library

Coviu provides a session based API for creating and restricting access to coviu calls. The core concepts exposed are

Participants join a call by following a session link in their browser, or mobile app. The session link identifies the participant, including their name, optional avatar, and importantly their role. As such, it is important that each person joining the call be issued a different session link, i.e. have a distinct participant created for them. A participant's role identifies whether that user may access the call directly, or if they are required the be let in by an existing participant.

coviu-php-sdk exposes this functionality through a convenient php library.

There is a demo for how to use the SDK at https://github.com/coviu/coviu-api-php-demo . Also check out the Wordpress plugin at https://github.com/coviu/coviu-video-calls which has a more detailed use.

Installation

If you are not using composer in your application, still run the above command, which creates a vendor directory. Then commit the vendor directory into your codebase. You can get composer from https://getcomposer.org/download/ . You can check Coviu's composer package at https://packagist.org/packages/coviu/coviu-sdk .

If you'd like to get a full tarball with the vendor directory, contact [email protected] .

Quickstart

Setup the sdk by passing in your api key and key secret

Schedule a session for the future.

Example output

$coviu->sessions->* is a collection of functions that build requests that can be run against the api.

You can now add a participant to the session

Example output

Notice the entry_url for the newly created participant. Following this url in a browser or in one of the coviu mobile apps between start_time and end_time (while the session is active), will join the participant into the session, assuming the role and identity provided.

We can now read the entire session structure back

Example output

There's a full set of api documents provided with api source for the coviu-sdk-api npm module at /src/SessionApi.php

OAuth2

Coviu implements the OAuth2 authorization code flow https://tools.ietf.org/html/rfc6749#section-4.1. Coviu requires that you register you redirect_url ahead of time in Applications section of your api team account. Once a user has returned with a authorization code, you may recover the access token and refresh token by using the authorizationCode


All versions of coviu-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
rmccue/requests Version ^1.6
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 coviu/coviu-sdk contains the following files

Loading the files please wait ....