PHPackages                             fractal512/laravel-og-image - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. fractal512/laravel-og-image

ActiveLibrary

fractal512/laravel-og-image
===========================

Open Graph image generator for Laravel based on Intervention Image - PHP image processing library

0.1(2y ago)05MITPHPPHP ^8.1

Since Mar 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fractal512/laravel-og-image)[ Packagist](https://packagist.org/packages/fractal512/laravel-og-image)[ Docs](https://github.com/fractal512/laravel-og-image)[ RSS](/packages/fractal512-laravel-og-image/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Open Graph Image Generator for Laravel
======================================

[](#open-graph-image-generator-for-laravel)

Open Graph image generator for Laravel based on Intervention Image - PHP image processing library.

[![OG image preview](/docs/assets/og-image-example.png?raw=true)](/docs/assets/og-image-example.png?raw=true)

Features:
---------

[](#features)

- Image generation with fully customizable text, logo, background and overlay
- Background image effects, like a blur, grayscale, etc.
- Custom fading overlay over background
- Easy switch between GD and Imagick drivers

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Laravel 9.x - 10.x
- [Intervention Image](https://image.intervention.io/v3) 3.0 or higher

Installation
------------

[](#installation)

The package can be installed via composer:

```
composer require fractal512/laravel-og-image
```

Publish the configuration file with:

```
php artisan vendor:publish --tag="open-graph-image-config"
```

Usage
-----

[](#usage)

Use `make()` method to create Open Graph image with default settings:

```
