A PHP interface to the Gfycat API.
- PHP 5.4 and up
- Install composer
- Add the package to your composer.json
- Run composer
require 'vendor/autoload.php';
// convert a gif
print_r(\Gfycat\Core::convert("http://i.imgur.com/jmLX0nv.gif"));
// query a gfy name for urls and more information
print_r(\Gfycat\Core::query("InstructiveUnsungBabirusa"));
// check if a URL has already been converted
print_r(\Gfycat\Core::check("http://i.imgur.com/jmLX0nv.gif"));