You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Glide is a wonderfully easy on-demand image manipulation library written in PHP.
19
19
- Adjust, resize and add effects to images using a simple HTTP based API.
20
20
- Manipulated images are automatically cached and served with far-future expires headers.
21
21
- 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.
23
23
- Supports many response methods, including PSR-7, HttpFoundation and more.
24
24
- Ability to secure image URLs using HTTP signatures.
25
25
- Works with many different file systems, thanks to the [Flysystem](http://flysystem.thephpleague.com/) library.
Copy file name to clipboardexpand all lines: docs/3.0/config/image-driver.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,20 @@ title: Image driver
5
5
6
6
# Image driver
7
7
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).
9
9
10
10
~~~php
11
11
<?php
12
12
13
-
$server = League\Glide\ServerFactory::create([
13
+
$server = \League\Glide\ServerFactory::create([
14
14
15
15
// Use GD (default)
16
16
'driver' => 'gd',
17
17
18
18
// Use ImageMagick
19
19
'driver' => 'imagick',
20
+
21
+
// Use libvips. Requires installing the `intervention/image-driver-vips` composer package.
@@ -25,7 +25,7 @@ Glide is a wonderfully easy on-demand image manipulation library written in PHP.
25
25
- Adjust, resize and add effects to images using a simple HTTP based API.
26
26
- Manipulated images are automatically cached and served with far-future expires headers.
27
27
- 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.
29
29
- 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.
30
30
- Ability to secure image URLs using HTTP signatures.
31
31
- 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.
35
35
36
36
## Questions?
37
37
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