Download the PHP package dskzpt/youtube2news without Composer

On this page you can find all versions of the php package dskzpt/youtube2news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package youtube2news

StandWithUkraine TYPO3 10 TYPO3 11 Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

TYPO3 Extension "youtube2news"

What does it do?

Imports YouTube videos via the official YouTube API as EXT:news "News" entities.

Summary of features

Installation

The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just run:

composer require dskzpt/youtube2news

Setup

  1. Get your YouTube API access token by following the official documentation
  2. Enter your API access token in the Extension configuration/settings.
  3. Run the provided command to import videos:
    youtube2news:import-videos {channelname} {storagePid} [limit|25]

Recommended:

Setup a cronjob/scheduler task to regularly import new videos.

Compatibility

Version TYPO3 News PHP Support/Development
1.x 11.5 9.0 - 10.x 7.4 - 8.0️ Features, Bugfixes, Security Updates

Funtionalities

Automatic import of videos

This extension comes with a command to import videos of a given youtube channel. It is recommended to set this command up to run regularly - e.g. once a day.

youtube2news:import-videos {username} {storagePid} [limit|25]

Arguments:

Name Description
username The youtube channel to import videos from
storagePid The PID to save the imported videos
limit The maximum number of latest videos to import (Optional. Default: 25)

Local path to save downloaded files

By default all imported videos are saved in /public/fileadmin/youtube2news You can change this path via the Extensions settings local_file_storage_path option.

Contributing

Please refer to the contributing document included in this repository.

Testing

This Extension comes with a testsuite for coding styles and unit/functional tests. To run the tests simply use the provided composer script:

composer ci:test

All versions of youtube2news with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
georgringer/news Version ^9.0 || ^10.0
symfony/console Version ^5.4
typo3/cms-core Version ^11.5
typo3/cms-extbase Version ^11.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dskzpt/youtube2news contains the following files

Loading the files please wait ...