Download the PHP package decrypted/twitch-sdk without Composer
On this page you can find all versions of the php package decrypted/twitch-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download decrypted/twitch-sdk
More information about decrypted/twitch-sdk
Files in decrypted/twitch-sdk
Package twitch-sdk
Short Description TwitchTV API SDK for PHP
License MIT
Homepage https://github.com/decrypted/Twitch-SDK
Informations about the package twitch-sdk
TwitchTV SDK for PHP
This is unofficial TwitchTV SDK for PHP, a fork of https://github.com/jofner/Twitch-SDK as it got UNMAINTAINED. This will aim to do at least basic patches, and it is running in production. #therebedragons #v5
Requirements
TwitchTV SDK for PHP requires PHP 5.3.0 or later with cURL extension enabled.
Installation
The best way to install TwitchTV SDK is use Composer.
Download the bundle using Composer
The downloaded package includes the src
directory. This directory contains
the source code of TwitchTV SDK for PHP. This is the only directory
that you will need in order to deploy your application.
Getting started
Basic functions starts with standard naming policy (user, channel etc.) -
userGet()
for example. Authenticated functions have auth* prefixes,
like authUserGet()
.
SDK initialization in your project
With autoloader (Frameworks etc.)
Without Autoloader
Usage
Basic usage (public functions only)
Authenticated functions usage
More examples you can find soon at Wiki pages.
Error: curl SSL certificate problem: self signed certificate in certificate chain
If you getting this error, you have probably out of date CA root certificates. Be sure you have in your php.ini set path to certificate in curl.cainfo = "..."
You can get cacert.pem from this site https://curl.haxx.se/docs/caextract.html
Licenses
Refer to the LICENSE.md file for license information
Reference
All versions of twitch-sdk with dependencies
ext-curl Version *