PHPackages                             previewlinks/php-previewlinks - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. previewlinks/php-previewlinks

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

previewlinks/php-previewlinks
=============================

The official PHP Previewlinks client

v1.0.0(3y ago)02[2 PRs](https://github.com/PreviewLinks/php-previewlinks/pulls)MITPHPPHP ^7.4|^8.0

Since Dec 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PreviewLinks/php-previewlinks)[ Packagist](https://packagist.org/packages/previewlinks/php-previewlinks)[ Docs](https://github.com/PreviewLinks/php-previewlinks)[ GitHub Sponsors](https://github.com/larsklopstra)[ RSS](/packages/previewlinks-php-previewlinks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

PreviewLinks for PHP
====================

[](#previewlinks-for-php)

This is the official [PreviewLinks](https://previewlinks.io) client for PHP.

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

[](#installation)

You can install the package via composer:

```
composer require previewlinks/php-previewlinks
```

Usage
-----

[](#usage)

### Images

[](#images)

Use the `image` method to generate downloadable image URLs, be aware that this might increase the loading time on your page. If you want to use this for on-demand previews continue to Async images.

```
