Download the PHP package betterembed/neos-betterembed without Composer
On this page you can find all versions of the php package betterembed/neos-betterembed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download betterembed/neos-betterembed
More information about betterembed/neos-betterembed
Files in betterembed/neos-betterembed
Package neos-betterembed
Short Description BetterEmbed integration for Neos CMS
License GPL-3.0-or-later
Homepage https://github.com/betterembed/neos-betterembed
Informations about the package neos-betterembed
BetterEmbed integration for Neos CMS
BetterEmbed is a free service to easily integrate content like Twitter posts, blog posts, or any other kind of remote content.
Notice: Due GDPR consent access gateways, not every URL will work. For instance there are known issues with Facebook, and Instagram.
Benefits of BetterEmbed
- easily integrate external content
- improve privacy by keeping out unwanted tracking cookies (GDPR)
- increase page speed by not loading external Javascript and CSS resources
If you want to know more, please visit https://betterembed.com to see the full feature list and get more information about the project.
Installation
Add the dependency to your site package like this:
And then run composer update
in your project's root folder.
Dependencies
This package currently only requires Neos >= 8
and guzzlehttp/guzzle
Usage
Examples
Website Example
API result
YouTube Example
API result
Twitter Example
Rendering
The package includes a default rendering component together with the according Javascript and CSS sources.
Use your own renderer
You can easily register your own rendering component via extending BetterEmbed.NeosEmbed:Component.Renderer
:
Asset handling
You will find the imported assets in the "BetterEmbed" asset collection within the Neos CMS Media Module. Each asset will be tagged with the itemType
of the BetterEmbed response record for further grouping.
API
The package is based on the BetterEmbed API endpoint. You can read the API description here and test URLs.
Issues and PRs
Feel free to create issues for PRs if you like.