PHPackages                             rodrigorioo/twitch-clips-downloader - 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. rodrigorioo/twitch-clips-downloader

ActiveLibrary

rodrigorioo/twitch-clips-downloader
===================================

Library for download clips from Twitch

1.2(4y ago)012MITPHPPHP &gt;=7.4.0

Since May 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rodrigorioo/twitch-clips-downloader)[ Packagist](https://packagist.org/packages/rodrigorioo/twitch-clips-downloader)[ RSS](/packages/rodrigorioo-twitch-clips-downloader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Twitch Clips Downloader
=======================

[](#twitch-clips-downloader)

Twitch Clips Downloader es una librería en PHP que permite descargar y guardar un clip de twitch con sólo ingresar su ID.

Esta librería no utiliza la API de Twitch, pero igualmente se requiere el Client ID para hacer el request.

Instalación
-----------

[](#instalación)

La librería se instala vía composer

```
composer require rodrigorioo/twitch-clips-downloader
```

Uso
---

[](#uso)

Para empezar a utilizarla tenemos que iniciarla con el Client ID (ver sección "Obtener Client ID")

```
use TwitchClipDownloader\Twitch;

$twitter = new Twitch('');
```

Con esto ya podemos llamar a los métodos

Obtener Client ID de Twitch
---------------------------

[](#obtener-client-id-de-twitch)

Para obtenerlo tenemos que crear una aplicación en Twitch () y nos saldrá el Client ID

Métodos
-------

[](#métodos)

NombreRetornadownload(clip\_id)Twitchsave(directorio?)voidClases
------

[](#clases)

#### Twitch

[](#twitch)

- String id - ID del clip
- String url - URL del clip

Excepciones
-----------

[](#excepciones)

NombreDescripciónTwitchClipDownloader\\Exceptions\\Curl\\CurlTwitchClipDownloader\\Exceptions\\Curl\\ParseResponseHereda de TwitchClipDownloader\\Exceptions\\Curl\\CurlTwitchClipDownloader\\Exceptions\\Curl\\ResponseHereda de TwitchClipDownloader\\Exceptions\\Curl\\CurlTwitchClipDownloader\\Exceptions\\Clip\\ClipTwitchClipDownloader\\Exceptions\\Clip\\SaveHereda de TwitchClipDownloader\\Exceptions\\Clip\\ClipTests
-----

[](#tests)

En la carpeta tests hay algunos tests básicos para que vean como se utiliza la librería al mismo tiempo que tienen incluídas las capturas de las excepciones.

Para poder utilizarlas, tienen que crear un archivo init.php con el mismo formato que tiene el init\_example.php en donde van a setear el Client ID

License
-------

[](#license)

MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~6 days

Total

2

Last Release

1809d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39487374?v=4)[Rodrigo Río](/maintainers/Rodrigorioo)[@rodrigorioo](https://github.com/rodrigorioo)

---

Top Contributors

[![rodrigorioo](https://avatars.githubusercontent.com/u/39487374?v=4)](https://github.com/rodrigorioo "rodrigorioo (5 commits)")

### Embed Badge

![Health badge](/badges/rodrigorioo-twitch-clips-downloader/health.svg)

```
[![Health](https://phpackages.com/badges/rodrigorioo-twitch-clips-downloader/health.svg)](https://phpackages.com/packages/rodrigorioo-twitch-clips-downloader)
```

PHPackages © 2026

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