Download the PHP package carandclassic/talkjs without Composer

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

TalkJS PHP SDK

Latest version Total downloads

Forked from shapintv/talkjs.

For more information on parameters, custom data, and other things you can send with this API, please see the TalkJS REST API documentation.

The structure of this package is crafted around the TalkJS REST API structure, and as such all the following are treated as distinct APIs:

Not implemented currently:

Install

Via Composer

Usage

This can be used as-is or with auto discovery in Laravel.

Create a TalkJSClient

Laravel

Firstly, add TALKJS_APP_ID and TALKJS_SECRET_KEY to your env file. These are pulled in from the package's config automatically talkjs.app_id and talkjs.secret_key respectively.

If you'd like to change this, you can publish the application config and modify the talkjs.php config file in your application:

Laravel's automatic service discovery will let you dependency inject TalkJSClient as per normal. Alternatively for one-off use you can also pass overriding appId and secretKey arguments using app()->make():

Input vs API data

Below you'll see "input data" and "API data" referenced.

This is done because currently TalkJS returns empty 200 responses for successful resource update/creation, but it's still helpful to return what you've sent along.

IDs

TalkJS IDs for users and conversations are custom and managed by your application.

Filtering

All endpoints that fetch multiple records (users, conversations, messages) have limit & pagination options. API usage below will use a $filters variable where possible for demonstration, and it will look like this:

Creating a TalkJSClient

Users

Please note TalkJS currently does not offer a user deletion API, and instead recommend you use the update/edit endpoints to anonymise personally identifiable information.

Conversations

Messages

For more information on custom data and filters, please refer to the TalkJS documentation linked above.

Please note:

License

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


All versions of talkjs with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
symfony/http-client Version ^4.4|^5.2|^6.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 carandclassic/talkjs contains the following files

Loading the files please wait ....