Download the PHP package squareetlabs/laravel-openvidu without Composer

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

Laravel client for controlling your videocalls from your Openvidu server.

Quality Score Build Status Code Intelligence Latest Stable Version Total Downloads License

This is a Laravel package wrapping OpenVidu Server REST API

Installation

You can install this package via composer:

Add Service Provider & Facade

For Laravel 5.5+

Once the package is added, the service provider and facade will be autodiscovered.

For Older versions of Laravel

Add the ServiceProvider to the providers array in config/app.php:

Add the Facade to the aliases array in config/app.php:

Run migrations

Configuration

Add your OpenVidu Server configuration values to your config/services.php file:

Set debug to true if you want to debug OpenVidu API consumptions from Guzzle Client

Set use_routes to false if you don't want to use default defined routes.

You must also add the openvidu cache driver to your config/cache.php file:

Usage

Using endpoints

LaravelOpenVidu is very easy to use. By default it exposes 13 different endpoints.
1- Create a token for a new session or an existing session
2- Get an existing session from array stored in memory
3- Get an existing session from OpenVidu Server
4- Returns the list of active sessions
5- Returns the list of active connections to the session
6- Allows publish a Stream (For now can only be IPCAM).
7- Forces some user to unpublish a Stream.
8- Forces the user with connectionId to leave the session
9- Gracefully closes the Session: unpublish all streams and evicts every
10- Checks if a session is being recorded
11- Start recording a session
12- Stop recording a session
13- Get the recording of a session
14- Delete the recording of a session
15- Sends signal to session

Using OpenVidu Facade

Create a token for a new session or an existing session
Get all active session
Get an existing session
Get all active connections from session
Close a session
Publish a stream on session (For now only can be IPCAM)
Forces some user to unpublish a Stream.
Forces the user with connectionId to leave the session.
Checks if a session is being recorded
Start recording a session
Stop recording a session
Get the recording of a session
Delete the recording of a session
Sends signal to session

Available Events

At the moment of raising the OpenVidu server we can indicate multiple configuration options, one of them is if we want to use the webhook service to receive events in an endpoint. In our case the default endpoint is '/openvidu/webhook'

Event ParticipantJoined is launched when a user has connected to a session. Example of use:
Event ParticipantLeft is launched when a user has left a session. Example of use:
Event RecordingStatusChanged is launched when the status of a recording has changed. The status may be: started, stopped, ready, failed. Example of use:
Event SessionCreated is launched when a new session has been created. Example of use:
Event SessionDestroyed is launched when a session has finished. Example of use:
Event WebRTCConnectionCreated is launched when a new media stream has been established. Can be an "INBOUND" connection (the user is receiving a stream from a publisher of the session) or an "OUTBOUND" connection (the user is a publishing a stream to the session). Example of use:
Event WebRTCConnectionCreated is launched when any media stream connection is closed. Example of use:
Event FilterEventDispatched is launched when a filter event has been dispatched. This event can only be triggered if a filter has been applied to a stream and a listener has been added to a specific event offered by the filter. Example of use:

Finally remember to add them to your EventServiceProvider: ``

OpenVidu

Visit OpenVidu Documentation for more information.

Support

Feel free to post your issues in the issues section.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-openvidu with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.5
ext-json Version *
guzzlehttp/guzzle Version ^v6.0|~v7.0
illuminate/cache Version ^v6.0|^v7.0|^v8.0
illuminate/config Version ^v6.0|^v7.0|^v8.0
illuminate/database Version ^v6.20.26|^v7.30.6|^v8.0
illuminate/events Version ^v6.0|^v7.0|^v8.0
illuminate/http Version ^v6.0|^v7.0|^v8.0
illuminate/routing Version ^v6.0|^v7.0|^v8.0
illuminate/support Version ^v6.0|^v7.0|^v8.0
illuminate/translation Version ^v6.0|^v7.0|^v8.0
illuminate/validation Version ^v6.0|^v7.0|^v8.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 squareetlabs/laravel-openvidu contains the following files

Loading the files please wait ....