All Projects β†’ Astrotomic β†’ Php Open Graph

Astrotomic / Php Open Graph

Licence: mit
This package provides a fluent PHP OOP builder for Open Graph protocol.

Projects that are alternatives of or similar to Php Open Graph

React Tweet Embed
component that you supply tweet id and you'll get a tweet embed back, nothing more
Stars: ✭ 120 (+160.87%)
Mutual labels:  hacktoberfest, twitter
Orange3 Text
🍊 πŸ“„ Text Mining add-on for Orange3
Stars: ✭ 83 (+80.43%)
Mutual labels:  hacktoberfest, twitter
Bot Followers
🍊 Find out how many bots follow any given Twitter acount
Stars: ✭ 91 (+97.83%)
Mutual labels:  hacktoberfest, twitter
Tweet.sh
Twitter client written in simple Bash script
Stars: ✭ 178 (+286.96%)
Mutual labels:  hacktoberfest, twitter
Polemicas E Tretas Dev
As polΓͺmicas e tretas πŸ‡§πŸ‡· versionadas
Stars: ✭ 258 (+460.87%)
Mutual labels:  hacktoberfest, twitter
Yii2 Authclient
Yii 2 authclient extension.
Stars: ✭ 430 (+834.78%)
Mutual labels:  hacktoberfest, twitter
Twitter Cleanup
πŸ› Clean-up inactive accounts and bots from your Twitter
Stars: ✭ 275 (+497.83%)
Mutual labels:  hacktoberfest, twitter
Notify
A dead simple Go library for sending notifications to various messaging services.
Stars: ✭ 727 (+1480.43%)
Mutual labels:  hacktoberfest, twitter
Zeppelin Mongodb Interpreter
MongoDB interpreter for Apache Zeppelin
Stars: ✭ 44 (-4.35%)
Mutual labels:  hacktoberfest
Laminas Validator
Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria
Stars: ✭ 45 (-2.17%)
Mutual labels:  hacktoberfest
Snaake Flutter
Snaake is a small and very simple clone of the classic snake game from Nokia phones.
Stars: ✭ 44 (-4.35%)
Mutual labels:  hacktoberfest
Pokr
Make agile estimating and planning easy with our online planning or scrum poker tool
Stars: ✭ 44 (-4.35%)
Mutual labels:  hacktoberfest
Simpletones.js
The goal of simpleTones.js is to provide every JavaScript developer with a lightweight solution for creating custom sounds in their web applications. This documentation has been written in hopes that the least experienced developer can read, understand and go on to do great things. You can check out several examples at this link:
Stars: ✭ 45 (-2.17%)
Mutual labels:  hacktoberfest
John Cena
You can't see me. πŸ˜„
Stars: ✭ 44 (-4.35%)
Mutual labels:  hacktoberfest
Date Fns.org
🏑 date-fns website 🌈
Stars: ✭ 45 (-2.17%)
Mutual labels:  hacktoberfest
Vyper.fun
Cryptozombies for Vyper: Learn Vyper by building games!
Stars: ✭ 42 (-8.7%)
Mutual labels:  hacktoberfest
Talon For Twitter Android
The most powerful and beautiful Twitter client available.
Stars: ✭ 1,022 (+2121.74%)
Mutual labels:  twitter
Meteor Files
πŸš€ Upload files via DDP or HTTP to β˜„οΈ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.
Stars: ✭ 1,033 (+2145.65%)
Mutual labels:  hacktoberfest
Circular
An open source Buffer app clone
Stars: ✭ 1,030 (+2139.13%)
Mutual labels:  twitter
Uno.ch9
Ch9 - Uno Reference Implementation project
Stars: ✭ 45 (-2.17%)
Mutual labels:  hacktoberfest

PHP Open-Graph

Latest Version MIT License Offset Earth Larabelles

GitHub Workflow Status StyleCI Total Downloads

This package provides a fluent PHP OOP builder for Open Graph protocol and Twitter Cards.

Installation

You can install the package via composer:

composer require astrotomic/php-open-graph

Usage

use Astrotomic\OpenGraph\OpenGraph;
use Astrotomic\OpenGraph\StructuredProperties\Image;

echo OpenGraph::website('Example')
    ->url('https://example.com')
    ->image('https://example.com/image1.jpg')
    ->image(Image::make('https://example.com/image2.jpg')->width(600));
<meta property="og:type" content="website" />
<meta property="og:title" content="Example" />
<meta property="og:url" content="https://example.com" />
<meta property="og:image" content="https://example.com/image1.jpg" />
<meta property="og:image:url" content="https://example.com/image2.jpg" />
<meta property="og:image:width" content="600" />

Types

Global

  • \Astrotomic\OpenGraph\Types\Website
  • \Astrotomic\OpenGraph\Types\Article
  • \Astrotomic\OpenGraph\Types\Profile
  • \Astrotomic\OpenGraph\Types\Book

Music

  • \Astrotomic\OpenGraph\Types\Music\Album
  • \Astrotomic\OpenGraph\Types\Music\Playlist
  • \Astrotomic\OpenGraph\Types\Music\Song
  • \Astrotomic\OpenGraph\Types\Music\RadioStation

Video

  • \Astrotomic\OpenGraph\Types\Video\Movie
  • \Astrotomic\OpenGraph\Types\Video\TvShow
  • \Astrotomic\OpenGraph\Types\Video\Episode
  • \Astrotomic\OpenGraph\Types\Video\Other

Twitter

  • \Astrotomic\OpenGraph\Types\Twitter\Summary
  • \Astrotomic\OpenGraph\Types\Twitter\SummaryLargeImage
  • \Astrotomic\OpenGraph\Types\Twitter\Player

Structured Properties

  • \Astrotomic\OpenGraph\StructuredProperties\Image
  • \Astrotomic\OpenGraph\StructuredProperties\Video
  • \Astrotomic\OpenGraph\StructuredProperties\Audio

Testing

composer test

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

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].