Skip to content

Commit 7e92905

Browse files
committed
Update docs for libvips usage.
Closes #421.
1 parent e1bc3af commit 7e92905

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Glide is a wonderfully easy on-demand image manipulation library written in PHP.
1919
- Adjust, resize and add effects to images using a simple HTTP based API.
2020
- Manipulated images are automatically cached and served with far-future expires headers.
2121
- Create your own image processing server or integrate Glide directly into your app.
22-
- Supports both the [GD](http://php.net/manual/en/book.image.php) library and the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension.
22+
- Supports the [GD](http://php.net/manual/en/book.image.php) library, the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension and [libvips](https://github.com/libvips/php-vips) PHP extension.
2323
- Supports many response methods, including PSR-7, HttpFoundation and more.
2424
- Ability to secure image URLs using HTTP signatures.
2525
- Works with many different file systems, thanks to the [Flysystem](http://flysystem.thephpleague.com/) library.

docs/3.0/config/image-driver.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ title: Image driver
55

66
# Image driver
77

8-
By default Glide uses the [GD](http://php.net/manual/en/book.image.php) library. However you can also use Glide with [ImageMagick](http://www.imagemagick.org/) if the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension is installed.
8+
By default Glide uses the [GD](http://php.net/manual/en/book.image.php) library. However you can also use Glide with [ImageMagick](http://www.imagemagick.org/) if the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension is installed or [libvips](https://github.com/libvips/php-vips).
99

1010
~~~ php
1111
<?php
1212

13-
$server = League\Glide\ServerFactory::create([
13+
$server = \League\Glide\ServerFactory::create([
1414

1515
// Use GD (default)
1616
'driver' => 'gd',
1717

1818
// Use ImageMagick
1919
'driver' => 'imagick',
20+
21+
// Use libvips. Requires installing the `intervention/image-driver-vips` composer package.
22+
'driver' => \Intervention\Image\Drivers\Vips\Driver::class,
2023
]);
21-
~~~
24+
~~~

docs/3.0/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Introduction
1010
[![Source Code](https://img.shields.io/badge/github-thephpleague/glide-blue.svg?style=flat-square)](https://github.com/thephpleague/glide)
1111
[![Latest Version](https://img.shields.io/github/release/thephpleague/glide.svg?style=flat-square)](https://github.com/thephpleague/glide/releases)
1212
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](https://github.com/thephpleague/glide/blob/master/LICENSE)<br>
13-
[![Build Status](https://img.shields.io/github/workflow/status/thephpleague/glide/glide/master?style=flat-square)](https://github.com/thephpleague/glide/actions/workflows/test.yaml?query=branch%3Amaster++)
13+
[![Build Status](https://img.shields.io/github/actions/workflow/status/thephpleague/glide/test.yaml?style=flat-square&branch=master)](https://github.com/thephpleague/glide/actions/workflows/test.yaml?query=branch%3Amaster++)
1414
[![Code Coverage](https://img.shields.io/codecov/c/github/thephpleague/glide/master?style=flat-square)](https://app.codecov.io/gh/thephpleague/glide/)
1515
[![Total Downloads](https://img.shields.io/packagist/dt/league/glide.svg?style=flat-square)](https://packagist.org/packages/league/glide)
1616

@@ -25,7 +25,7 @@ Glide is a wonderfully easy on-demand image manipulation library written in PHP.
2525
- Adjust, resize and add effects to images using a simple HTTP based API.
2626
- Manipulated images are automatically cached and served with far-future expires headers.
2727
- Create your own image processing server or integrate Glide directly into your app.
28-
- Supports both the [GD](http://php.net/manual/en/book.image.php) library and the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension.
28+
- Supports the [GD](http://php.net/manual/en/book.image.php) library, the [Imagick](http://php.net/manual/en/book.imagick.php) PHP extension and [libvips](https://github.com/libvips/php-vips) PHP extension.
2929
- Supports many response methods, including [PSR-7](http://www.php-fig.org/psr/psr-7/), [HttpFoundation](http://symfony.com/doc/current/components/http_foundation/introduction.html) and more.
3030
- Ability to secure image URLs using HTTP signatures.
3131
- Works with many different file systems, thanks to the [Flysystem](http://flysystem.thephpleague.com/) library.
@@ -35,4 +35,4 @@ Glide is a wonderfully easy on-demand image manipulation library written in PHP.
3535

3636
## Questions?
3737

38-
Glide was created by [Jonathan Reinink](https://twitter.com/reinink). Submit issues to [Github](https://github.com/thephpleague/glide/issues).
38+
Glide was created by [Jonathan Reinink](https://twitter.com/reinink). Submit issues to [Github](https://github.com/thephpleague/glide/issues).

0 commit comments

Comments
 (0)