Download the PHP package mralston/quake-sdk without Composer

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

Quake SDK

This is PHP SDK for Quake. The Quake platform provides WhatsApp and SMS message flow capabilities useful for recruitment, lead qualification and other automated two-way communication.

Visit the Quake website for more information.


Installation

You can install the package via composer:

Basic Usage

Fluent API

Many of the objects exposed by the API support method chaining.

Webhooks

The Quake platform can send push notifications to your application via webhooks. In order to use webhooks, your application must be able to respond to the challenge requests sent to it. Such challenges include a crc_token which must be combined with a signing key secret in order to send a valid response. Signing keys can be set up on the Quake website.

The resolveWebhookChallenge() method on the Quake client will take care of generating this response for you. All you need to do is provide it with the crc_token received and send back the response. Here is a basic example:

Laravel

Configuration

In Laravel, you can publish the config file with:

This is the contents of the published config file:

Configure the three environment variables with your username, password and company ID. These are UUIDs supplied by Quake. The API endpoint is the base URL of the Quake platform, for example https://www.quake.co.uk.

Dependency Injection

In addition to the method chaining described in the fluent API section above, the Laravel integration takes care of authentication automatically. All you need to do is grab an instance of the client from the container and start using it.

You can use dependency injection to get a pre-authenticated instance of the client:

Alternatively, you can resolve an instance of the client from the container:

Facade

In true Laravel tradition, you can also use a facade (along with method chaining, of course!).

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of quake-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
ext-json Version *
giggsey/libphonenumber-for-php Version ^8.12
guzzlehttp/guzzle Version >=6.0
nesbot/carbon Version ^2.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 mralston/quake-sdk contains the following files

Loading the files please wait ....