Compare commits

..

2 commits

Author SHA1 Message Date
5677551b3f fix name 2025-05-01 13:24:28 +02:00
d0e2337def Update README.md 2025-05-01 11:57:40 +02:00
3 changed files with 313 additions and 1423 deletions

View file

@ -4,12 +4,12 @@ This library lets you extract a video URL from a webpage
by providing a wrapper by providing a wrapper
for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html). for [youtube-dl](https://ytdl-org.github.io/youtube-dl/index.html).
It is primarily used by [AllTube Download](https://github.com/Rudloff/alltube). It is primarily used by [AllTube Download](https://code.ehwurscht.at/genuineparts/alltube).
You can install it with: You can install it with:
```bash ```bash
composer require kumi/alltube-library composer require genuineparts/alltube-library
``` ```
You can then use it in your PHP code: You can then use it in your PHP code:
@ -24,5 +24,3 @@ $video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$video->getUrl(); $video->getUrl();
``` ```
You can also have a look at
this [example project](https://github.com/Rudloff/alltube-example-project).

View file

@ -1,5 +1,5 @@
{ {
"name": "kumi/alltube-library", "name": "genuineparts/alltube-library",
"description": "PHP wrapper for youtube-dl", "description": "PHP wrapper for youtube-dl",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"homepage": "http://alltubedownload.net/", "homepage": "http://alltubedownload.net/",
@ -10,7 +10,7 @@
"symfony/process": "^4.0|^5.0" "symfony/process": "^4.0|^5.0"
}, },
"require-dev": { "require-dev": {
"phpro/grumphp": "^0.22.0", "phpro/grumphp": "^0.18.0",
"phpstan/phpstan": "^0.12.29", "phpstan/phpstan": "^0.12.29",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.5", "squizlabs/php_codesniffer": "^3.5",

1726
composer.lock generated

File diff suppressed because it is too large Load diff