kevincobain2000 / gfycat
A PHP interface to the Gfycat API.
Installs: 64
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kevincobain2000/gfycat
Requires
- rmccue/requests: >=1.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
- squizlabs/php_codesniffer: 1.*
This package is auto-updated.
Last update: 2025-10-09 16:54:02 UTC
README
PHP Interface to Gfycat, GET and SEARCH
Install
composer require kevincobain2000/gfycat
composer update -vvv
Setup
Get Your ClientId and ClientSecret from Gfycat developer console
Usage
Get
$gfycat = new Gfycat($this->clientId, $this->clientSecret);
$gfyid = 'heartfeltsorrowfulbushsqueaker';
$response = $gfycat->get($gfyid);
Search
$gfycat = new Gfycat($this->clientId, $this->clientSecret);
$query = 'keywords';
$response = $gfycat->search($query);
Tests
vendor/bin/phpunit