1- # Previewify for PHP
1+ # PreviewLinks for PHP
22
3- This is the official [ Previewify] ( https://previewify.app ) client for PHP.
4-
5- ## Support us
6-
7- [ <img src =" https://flowfra.me/github-ad.png " width =" 419px " />] ( https://flowfra.me/github-ad-click )
8-
9- Like our work? You can support us by purchasing one of our products.
3+ This is the official [ PreviewLinks] ( https://previewlinks.io ) client for PHP.
104
115## Installation
126
137You can install the package via composer:
148
159``` bash
16- composer require flowframe /php-previewify
10+ composer require previewlinks /php-previewlinks
1711```
1812
1913## Usage
@@ -25,14 +19,14 @@ Use the `image` method to generate downloadable image URLs, be aware that this m
2519``` php
2620<?php
2721
28- use Flowframe\Previewify\Previewify ;
22+ use PreviewLinks\PreviewLinks ;
2923
30- $previewify = new Previewify ('<YOUR _SITE_API_KEY >');
24+ $previewlinks = new PreviewLinks ('<YOUR _SITE_API_KEY >');
3125
32- $response = $previewify ->image(
26+ $response = $previewlinks ->image(
3327 templateId: 1,
3428 fields: [
35- 'previewify :title' => 'Hello from PHP SDK',
29+ 'previewlinks :title' => 'Hello from PHP SDK',
3630 ],
3731);
3832
@@ -48,14 +42,14 @@ Async images are perfect if you don't want to download the image or use meta tag
4842``` php
4943<?php
5044
51- use Flowframe\Previewify\Previewify ;
45+ use PreviewLinks\PreviewLinks ;
5246
53- $previewify = new Previewify ('<YOUR _SITE_API_KEY >');
47+ $previewlinks = new PreviewLinks ('<YOUR _SITE_API_KEY >');
5448
55- $url = $previewify ->asyncImage(
49+ $url = $previewlinks ->asyncImage(
5650 templateId: 1,
5751 fields: [
58- 'previewify :title' => 'Hello from PHP SDK',
52+ 'previewlinks :title' => 'Hello from PHP SDK',
5953 ],
6054);
6155
@@ -68,6 +62,7 @@ Please review [our security policy](../../security/policy) on how to report secu
6862
6963## Credits
7064
65+ - [ Logan Craft] ( https://github.com/CraftLogan )
7166- [ Lars Klopstra] ( https://github.com/flowframe )
7267- [ All Contributors] ( ../../contributors )
7368
0 commit comments