webandco/neos-giphy

Last activity 19 Jun 2020 2 1
composer require webandco/neos-giphy

Giphy Asset Source for Neos CMS

1.0.1

Version
1.0.1
Type
neos-package
Release Date
Jun 15, 2020 14:53
Source
git
Distribution
zip
Requires
920f3b444c1b29d35fb7724faccc43ea285f954e

Neos Giphy Assetsource

Installation

composer require webandco/neos-giphy

How to use

  1. Get an APi ket from https://developers.giphy.com/
  2. Configure the API Key in Settings.yaml

Configuration

Neos:
  Media:
    assetSources:
      giphy:
        assetSource: 'Webandco\Giphy\AssetSource\GiphyAssetSource'
        assetSourceOptions:
          apiKey: 'yourAPIKey'
          copyrightNoticeTemplate: '${"Photo by <a href=\"" + user.profile_url + "\">" + user.display_name + "</a>"}'

The following data can be used in copyrightNoticeTemplate

  • user.display_name
  • user.username
  • user.avatar_url
  • user.banner_url
  • user.profile_url
The content of the readme is provided by Github
The same vendor provides 12 package(s).