mirror of
https://github.com/Intervention/image.git
synced 2025-08-06 13:56:30 +02:00
Edit readme.md
This commit is contained in:
14
readme.md
14
readme.md
@@ -5,12 +5,12 @@
|
|||||||
[](https://github.com/Intervention/image/actions)
|
[](https://github.com/Intervention/image/actions)
|
||||||
[](https://packagist.org/packages/intervention/image/stats)
|
[](https://packagist.org/packages/intervention/image/stats)
|
||||||
|
|
||||||
Intervention Image is a **PHP image handling and manipulation** library providing an easier and expressive way to create, edit, and compose images.
|
Intervention Image is a **image handling and manipulation library written in PHP** providing an easier and expressive way to create, edit, and compose images. GD library or Imagick can be selected as the base layer for all operations.
|
||||||
|
|
||||||
- Simple interface for
|
- Simple interface for common tasks
|
||||||
- Driver agnostic
|
- Interchangable driver architecture
|
||||||
- Support for animated images
|
- Support for animated images
|
||||||
- Framework-agnostic, will work with any project
|
- Framework-agnostic
|
||||||
- PSR-12 compliant
|
- PSR-12 compliant
|
||||||
|
|
||||||
## Code Examples
|
## Code Examples
|
||||||
@@ -20,7 +20,7 @@ Intervention Image is a **PHP image handling and manipulation** library providin
|
|||||||
$manager = new ImageManager('gd')
|
$manager = new ImageManager('gd')
|
||||||
|
|
||||||
// open an image file
|
// open an image file
|
||||||
$image = $manager->make('images/example.jpg');
|
$image = $manager->make('images/example.gif');
|
||||||
|
|
||||||
// resize image instance
|
// resize image instance
|
||||||
$image->resize(320, 240);
|
$image->resize(320, 240);
|
||||||
@@ -52,10 +52,10 @@ composer require intervention/image
|
|||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
Learn the [basics](https://image.intervention.io/) on how to use Intervention Image and more with the [official documentation](https://image.intervention.io/).
|
Learn the [basics](https://image.intervention.io/v3/basics/instantiation/) on how to use Intervention Image and more with the [official documentation](https://image.intervention.io/v3/).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
Intervention Image is licensed under the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
Copyright 2021 Oliver Vogel
|
Copyright 2022 Oliver Vogel
|
||||||
|
Reference in New Issue
Block a user