Download the PHP package astrotomic/php-open-graph without Composer
On this page you can find all versions of the php package astrotomic/php-open-graph. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astrotomic/php-open-graph
More information about astrotomic/php-open-graph
Files in astrotomic/php-open-graph
Package php-open-graph
Short Description Easily generate Open Graph tags
License MIT
Homepage https://github.com/Astrotomic/php-open-graph
Informations about the package php-open-graph
PHP Open-Graph
This package provides a fluent PHP OOP builder for Open Graph protocol and Twitter Cards.
Installation
You can install the package via composer:
Usage
Types
Global
\Astrotomic\OpenGraph\Types\Article
\Astrotomic\OpenGraph\Types\Book
\Astrotomic\OpenGraph\Types\Profile
\Astrotomic\OpenGraph\Types\Website
Music
\Astrotomic\OpenGraph\Types\Music\Album
\Astrotomic\OpenGraph\Types\Music\Playlist
\Astrotomic\OpenGraph\Types\Music\RadioStation
\Astrotomic\OpenGraph\Types\Music\Song
Video
\Astrotomic\OpenGraph\Types\Video\Episode
\Astrotomic\OpenGraph\Types\Video\Movie
\Astrotomic\OpenGraph\Types\Video\Other
\Astrotomic\OpenGraph\Types\Video\TvShow
\Astrotomic\OpenGraph\Types\Twitter\App
\Astrotomic\OpenGraph\Types\Twitter\Player
\Astrotomic\OpenGraph\Types\Twitter\SummaryLargeImage
\Astrotomic\OpenGraph\Types\Twitter\Summary
Structured Properties
\Astrotomic\OpenGraph\StructuredProperties\Audio
\Astrotomic\OpenGraph\StructuredProperties\Image
\Astrotomic\OpenGraph\StructuredProperties\Video
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details. You could also be interested in CODE OF CONDUCT.
Security
If you discover any security related issues, please check SECURITY for steps to report it.
Credits
- Tom Witkowski
- Alex Vanderbist
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Treeware
You're free to use this package, but if it makes it to your production environment I would highly appreciate you buying the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you contribute to my forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees at offset.earth/treeware
Read more about Treeware at treeware.earth