Download the PHP package mosai-co/meride-php-sdk without Composer

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

General PHP libraries for Meride

General PHP libraries for Meride that interacts with Meride's APIs, with Meride's encoders and gives web functionalities.

The packages included are:

INSTALLATION

composer require mosai-co/meride-php-sdk

it will require the public composer repository

The minimum requirement for PHP will be version 7.2

DEVELOPMENT INSTALLATION

TESTING

  1. create MERIDE_URL environment on the system with export MERIDE_URL="{{URL}}" where {{URL}} will be the CMS to test (e.g. https://cms.meride.tv/yourclientid)
  2. create MERIDE_AUTH_CODE environment on the system with export MERIDE_AUTH_CODE="{{AUTH_CODE}}" where {{AUTH_CODE}} will be the authorization code to call the API
  3. create MERIDE_STORAGESERVICE_URL environment on the system with export MERIDE_STORAGESERVICE_URL="{{STORAGESERVICE_URL}}" where {{STORAGESERVICE_URL}} is the address (base URL) of the storage service
  4. create MERIDE_AUTH_USER environment on the system with export MERIDE_AUTH_USER="{{AUTH_USER}}" where {{AUTH_USER}} is the desired client ID
  5. create MERIDE_VIDEO_ID environment on the system with export MERIDE_VIDEO_ID="{{VIDEO_ID}}" where {{VIDEO_ID}} is the desired video ID that will be tested (it must exist on the test platform)
  6. create MERIDE_STORAGE_PROTOCOL enviroment specifying if the storage HTTP protocol for the storage URL is http or https
  7. launch ./testall.sh from the root directory of the project

DOCUMENTATION GENERATION

To produce an internal documentation phpdoc is required on the system.

To see the documentation of the project launch this from the command line and access to the docs/ directory with a browser

phpdoc -d ./src/ -t ./docs

or launch the script ./generatedocs.sh

PUBLIC DOCUMENTATION

To read the public documentation go to the Meride's documentation page

INITIALIZATION

GET request (single)

GET request (collection)

ERROR MANAGEMENT

WEB FEATURES

generate Meride's div

generate Meride's iframe


All versions of meride-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
ankitpokhrel/tus-php Version ^2.2
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 mosai-co/meride-php-sdk contains the following files

Loading the files please wait ....