1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-29 09:47:36 +01:00

Complete example code in readme

This commit is contained in:
Oliver Vogel 2023-12-11 14:36:52 +01:00
parent 87693451a0
commit f6e4d0dda4

View File

@ -33,6 +33,8 @@ documentation](https://image.intervention.io/v3/).
## Code Examples
```php
use Intervention\Image\ImageManager;
// create image manager with desired driver
$manager = new ImageManager(
new Intervention\Image\Drivers\Gd\Driver()
@ -87,4 +89,4 @@ If you discover any security related issues, please email oliver@intervention.io
Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
Copyright 2020 [Oliver Vogel](http://intervention.io/)
Copyright 2023 [Oliver Vogel](http://intervention.io/)