Download the PHP package verifymycontent/sdk without Composer

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

VerifyMyContent PHP SDK

PHP SDK to use the VerifyMyContent services (Identity Verification, Content Moderation, and Content Complaint).

Installation

Get Started

The main class to handle the moderation integration process is the VerifyMyContent\VerifyMyContent. It will abstract the HMAC generation for the API calls.

Start an Identity Verification

Use the createIdentityVerification of the VerifyMyContent\SDK\IdentityVerification\IdentityVerificationClient abstraction inside VerifyMyContent\VerifyMyContent passing an VerifyMyContent\SDK\IdentityVerification\Entity\Requests\CreateIdentityVerificationRequest and receiving an VerifyMyContent\SDK\IdentityVerification\Entity\Responses\CreateIdentityVerificationResponse.

Retrieve Identity Verification by ID

Retrieves a specific identity verification to get current status.

Receive an Identity Verification Webhook

Receive a webhook from VerifyMyContent when the identity verification status changes.

Create a Static Content Moderation

Use the createStaticContentModeration of the VerifyMyContent\SDK\ContentModeration\ContentModerationClient abstraction inside VerifyMyContent\VerifyMyContent passing an VerifyMyContent\SDK\ContentModeration\Entity\Requests\CreateStaticContentModerationRequest and receiving an VerifyMyContent\SDK\ContentModeration\Entity\Responses\CreateStaticContentModerationResponse.

Retrieve Static Content Moderation by ID

Retrieves a specific moderation to get current status. Example:

Receive a Static Content Moderation Webhook

Live Content

To moderate a live stream broadcast you'll need to use different APIs as described below.

Create a Live Content Moderation

Use the createLiveContentModeration of the VerifyMyContent\SDK\ContentModeration\ContentModerationClient abstraction inside VerifyMyContent\VerifyMyContent passing an VerifyMyContent\SDK\ContentModeration\Entity\Requests\CreateLiveContentModerationRequest and receiving an VerifyMyContent\SDK\ContentModeration\Entity\Responses\CreateLiveContentModerationResponse.

Start a created Live Content Moderation

When you receive the webhook with the status Authorised, it means you can now start to broadcast a live stream, you can then use the startLiveContentModeration method to trigger the moderation:

Receive a Live Content Moderation Webhook

Updating Live Stream moderation rules

This endpoint allows you to update the moderation rules for a specific live stream

Pausing Live Stream moderation

This endpoint allows you to pause the moderation for a specific live stream

Resume Live Stream moderation

This endpoint allows you to resume the moderation for a specific live stream


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires verifymy/php-sdk Version ^v2.0.0
verifymycontent/commons Version ^v1.0.2
ext-json Version *
php Version ^7.4|^8.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 verifymycontent/sdk contains the following files

Loading the files please wait ....