An open API service indexing awesome lists of open source software.

https://github.com/beyondcode/banners

Create beautiful looking social images for your PHP packages
https://github.com/beyondcode/banners

Last synced: 3 months ago
JSON representation

Create beautiful looking social images for your PHP packages

Awesome Lists containing this project

README

        

# [Social Images for PHP Packages](https://banners.beyondco.de)

![](https://banners.beyondco.de/My%20Package.png?theme=light&packageName=vendor%2Fmy-awesome-package&pattern=architect&style=style_1&description=This+is+why+it%27s+awesome&md=1&fontSize=100px&images=https%3A%2F%2Flaravel.com%2Fimg%2Flogomark.min.svg)

Serverless service that generates dynamic Open Graph images that you can embed in your `` tags.

For each keystroke, headless chromium is used to render an HTML page and take a screenshot of the result which gets cached.

See the image embedded in the tweet for a real use case.

## What is an Open Graph Image?

Have you ever posted a hyperlink to Twitter, Facebook, or Slack and seen an image popup?
How did your social network know how to "unfurl" the URL and get an image?
The answer is in your ``.

The [Open Graph protocol](http://ogp.me) says you can put a `` tag in the `` of a webpage to define this image.

It looks like the following:

```html

Title

```

## Why use this service?

This service lets you generate beautiful looking social images for your PHP, Javascript, Python and Laravel packages. You have already put a lot of time and effort into your package, so why not make it look beautiful using this service.

## Authors

- Steven ([@styfle](https://twitter.com/styfle)) - [Vercel](https://vercel.com)
- Evil Rabbit ([@evilrabbit_](https://twitter.com/evilrabbit_)) - [Vercel](https://vercel.com)
- Marcel Pociot ([@marcelpociot](https://twitter.com/marcelpociot)) - [Beyond Code](https://beyondco.de)