https://github.com/owenvoke/youtube-dl-php
A quick and easy YouTube downloader/parser written in PHP.
https://github.com/owenvoke/youtube-dl-php
download php youtube
Last synced: about 1 year ago
JSON representation
A quick and easy YouTube downloader/parser written in PHP.
- Host: GitHub
- URL: https://github.com/owenvoke/youtube-dl-php
- Owner: owenvoke
- License: mit
- Created: 2016-09-27T16:58:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-18T10:21:50.000Z (almost 8 years ago)
- Last Synced: 2025-03-28T02:38:26.046Z (about 1 year ago)
- Topics: download, php, youtube
- Language: PHP
- Homepage:
- Size: 53.7 KB
- Stars: 53
- Watchers: 11
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# youtube-dl-php
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Style CI][ico-styleci]][link-styleci]
[![Code Coverage][ico-code-quality]][link-code-quality]
[![Total Downloads][ico-downloads]][link-downloads]
A quick and easy YouTube downloader/parser written in PHP.
## Install
Via Composer
``` bash
$ composer create-project pxgamer/youtube-dl-php
```
## Usage
```php
$video = new pxgamer\YDP\Downloader(VIDEO_ID_OR_URL);
```
ID | Default | Type | Description
----------- | ------- | ------- | ------------
`$vid_id` | '' | String | The ID or URL of the video, e.g. `-YGDyPAwQz0`
#### Related
- [User Script for YouTube](https://greasyfork.org/en/scripts/23560)
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Testing
``` bash
$ composer test
```
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) for details.
## Security
If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.
## Credits
- [pxgamer][link-author]
- [All Contributors][link-contributors]
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/pxgamer/youtube-dl-php.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/pxgamer/youtube-dl-php/master.svg?style=flat-square
[ico-styleci]: https://styleci.io/repos/69379142/shield
[ico-code-quality]: https://img.shields.io/codecov/c/github/pxgamer/youtube-dl-php.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/pxgamer/youtube-dl-php.svg?style=flat-square
[link-packagist]: https://packagist.org/packages/pxgamer/youtube-dl-php
[link-travis]: https://travis-ci.org/pxgamer/youtube-dl-php
[link-styleci]: https://styleci.io/repos/69379142
[link-code-quality]: https://codecov.io/gh/pxgamer/youtube-dl-php
[link-downloads]: https://packagist.org/packages/pxgamer/youtube-dl-php
[link-author]: https://github.com/pxgamer
[link-contributors]: ../../contributors