Download the PHP package jobinja/threads-io-php-plug without Composer

On this page you can find all versions of the php package jobinja/threads-io-php-plug. 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 threads-io-php-plug

Scrutinizer Code Quality Build Status Coverage Status

Jobinja's Threads.io PHP plug

What is this?

This project is a PHP connector to Threads.io originally forked from wabel/threads-io-php-plug. Use this plug to identify your users, track events and page visits or remove them from your Threads.io account. Initialize

Here is a basic example on how you can use Wabel's Threads.io PHP Plug :

The two main compound of this package are the ThreadsIoClient and ThreadsIoService.

The ThreadsIoClient is a programmatic implementation of the Threads.io API. It ensures that the data are sent with the format expected by the API. The ThreadsIoService is the main class to instantiate and use. It's meant to use the package Entity system, meaning manipulating Users, Event and Page objects easily. Every call methods expects an object implementing the ThreadableInterface or one of the provided Entity of this package.

Interfaces and Entites

As explained earlier, the ThreadsIoService is manipulating entities. A User entity, Event entity or Page entity is the instantiation of an existing class of your PHP application implementing respectively the UserThreadableInterface, EventThreadableInterface, PageThreadableInterface. For instance, a Member class that is used for manipulating users in your application is a good candidate for implementing the UserThreadable interface. If you have no classes that could implement the ThreadableInterfaces, you can instantiate manually one of the Wabel\Entities (User, Event or Page) provided in this package.

How to use the ThreadsIoService

In version 1.0.0, we introduced the first use of the basic functions "identify", "track", "page" and "remove". Here's a basic usage of the service :

Feature To-Do

About Threads.io

Threads.io provide a service meant for sending "Automated Behavior-Driven Emails" based on user activity and workflow rules setted by the account administrator. You can consult the original API here. Feel free to make any pull requests if you notice any API upgrades.

About Jobinja

Jobinja is an online Job seeking and HR platform.

About Wabel

Wabel is the online marketplace for the european food industry. In our effort to integrate our web platform to more and more web services, we (Wabel's dev team!) are happy to share our work with Threads.io's community.


All versions of threads-io-php-plug with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
guzzlehttp/guzzle Version ~6.1
psr/log Version ~1.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 jobinja/threads-io-php-plug contains the following files

Loading the files please wait ....