Download the PHP package placidapp/placid-laravel without Composer
On this page you can find all versions of the php package placidapp/placid-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download placidapp/placid-laravel
More information about placidapp/placid-laravel
Files in placidapp/placid-laravel
Package placid-laravel
Short Description Placid.app Laravel Integration
License MIT
Homepage https://github.com/placidapp/placid-laravel
Informations about the package placid-laravel
Placid for Laravel
This package enables you to automatically create images from Placid templates. You can use the REST API or the URL API to create placid.app embed links with your variables to dynamically set the image content.
About Placid
To use this package, you will need a Placid account, where you can add, design and edit image templates.
It is a service that automatically creates share images for your content: Open Graph images (og:images), Twitter Card images and Pinterest images. This saves you hours to make your content shareable after publishing. We offer a bunch of nice preset designs you can use out of the box as well.
More than share images: With our editor you have full control over your templates, so you can use it for other types of images to add to your content as well (like teasers or blog graphics).
Create a placid.app image URL
Generate an Image
Using the image()
function on the template object will result in returning a GeneratedImage Object. When the image has been created, the webhook defined in your config will be called!
image(true)
will wait for the image to being finished:
Fields
You can add different elements onto your template that can be changed and filled dynamically.
Text field
PLEASE NOTE: The text color can only be changed when you use the image()
function to generate an image, not if you use the URL API.
Picture field
Browserframe field
Rectangle field
PLEASE NOTE: The background color can only be changed when you use the image()
function to generate an image, not if you use the URL API.
Installation
You can install this package via composer using this command:
The package will automatically register itself.
You can publish the config-file with:
These are the contents of the published config file:
License
The MIT License (MIT). Please see License File for more information.