PHPackages                             nehalvpatel/gfycat-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nehalvpatel/gfycat-php

ActiveLibrary[API Development](/categories/api)

nehalvpatel/gfycat-php
======================

A PHP interface to the Gfycat API.

2.0.0(10y ago)86.1k2[1 issues](https://github.com/nehalvpatel/gfycat-php/issues)MITPHP

Since May 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/nehalvpatel/gfycat-php)[ Packagist](https://packagist.org/packages/nehalvpatel/gfycat-php)[ Docs](https://github.com/nehalvpatel/gfycat-php)[ RSS](/packages/nehalvpatel-gfycat-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

Gfycat.php [![Build Status](https://camo.githubusercontent.com/db5c2b1881a15549451c3f8fdeec901588514bd0bee55e509c3efc1234a8803f/68747470733a2f2f7472617669732d63692e6f72672f6e6568616c76706174656c2f6766796361742d7068702e737667)](https://camo.githubusercontent.com/db5c2b1881a15549451c3f8fdeec901588514bd0bee55e509c3efc1234a8803f/68747470733a2f2f7472617669732d63692e6f72672f6e6568616c76706174656c2f6766796361742d7068702e737667)
========================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#gfycatphp-)

A PHP interface to the Gfycat API.

Installation
------------

[](#installation)

Add the package to your composer file:

```
composer require nehalvpatel/gfycat-php "^2.0"
composer update
```

Example
-------

[](#example)

```
  require 'vendor/autoload.php';

  use nehalvpatel\Gfycat;

  // convert a gif from a Url
  print_r(Gfycat::convertUrl("http://i.imgur.com/gTv0isU.gif"));

  // convert a gif from a Url and release (async upload, check status using query())
  Gfycat::convertUrlAndRelease("http://i.imgur.com/gTv0isU.gif");
  //// -> returns gfycat key if gif hasn't already been uploaded to gfycat
  //// -> returns array of gfy data if the gif has been converted before

  // convert a gif from a file
  $file = // stream of data (fopen() or an instance of a Psr\Http\Message\StreamInterface)
  print_r(Gfycat::convertFile($file);

  // query a gfy name for urls and more information
  print_r(Gfycat::query("SpryFixedGnu"));

  // check if a URL has already been converted
  print_r(Gfycat::check("http://i.imgur.com/gTv0isU.gif"));
```

Contribution
------------

[](#contribution)

Run tests before creating a pull request: `vendor/bin/phpunit`.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~235 days

Total

3

Last Release

3906d ago

Major Versions

1.0.1 → 2.0.02015-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/b18cd6b260727c07d53d98a5435caea3f79463e0a7e83f95bb37ae6e0f48df24?d=identicon)[nehalvpatel](/maintainers/nehalvpatel)

---

Top Contributors

[![nehalvpatel](https://avatars.githubusercontent.com/u/159021?v=4)](https://github.com/nehalvpatel "nehalvpatel (8 commits)")[![MacDada](https://avatars.githubusercontent.com/u/136261?v=4)](https://github.com/MacDada "MacDada (1 commits)")

---

Tags

gifgfycatgfy

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/nehalvpatel-gfycat-php/health.svg)

```
[![Health](https://phpackages.com/badges/nehalvpatel-gfycat-php/health.svg)](https://phpackages.com/packages/nehalvpatel-gfycat-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[tumblr/tumblr

Official Tumblr PHP Client

405416.2k9](/packages/tumblr-tumblr)[image-charts/image-charts

Official Image-Charts.com API client library

2762.3k](/packages/image-charts-image-charts)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
