milosa / social-media-aggregator-youtube-plugin
Youtube Plugin for Milosa Social Media Aggregator
v0.0.3
2019-02-05 11:44 UTC
Requires
- php: ^7.2
- ext-json: *
- guzzlehttp/guzzle: ~6.0
- guzzlehttp/psr7: ~1.4
- milosa/social-media-aggregator-bundle: dev-master
Requires (Dev)
- phpstan/phpstan: ^0.11.1
- phpunit/phpunit: ^7.4
- psalm/plugin-phpunit: ^0.3.0
- vimeo/psalm: ^3.0
This package is auto-updated.
Last update: 2024-11-06 09:52:38 UTC
README
Youtube plugin for Milosa Social Media Aggregator Bundle
Installation
composer require milosa/social-media-aggregator-youtube-plugin
Usage
Get Youtube API access here: https://developers.google.com/youtube/v3/getting-started
Add the following config to your configuration file:
Sample config file
milosa_social_media_aggregator:
plugins:
youtube:
auth_data:
api_key: '%env(YOUTUBE_API_KEY)%'
enable_cache: true
cache_lifetime: 3600
number_of_items: 20
channel_id: UCLA_DiR1FfKNvjuUpBHmylQ
template: youtube.twig