1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-23 22:12:51 +02:00

Edit readme

This commit is contained in:
Oliver Vogel
2023-12-28 18:20:45 +01:00
parent dcedead709
commit 0844947172

View File

@@ -5,12 +5,12 @@
[![Build Status](https://github.com/Intervention/image/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Intervention/image/actions) [![Build Status](https://github.com/Intervention/image/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Intervention/image/actions)
[![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image.svg)](https://packagist.org/packages/intervention/image/stats) [![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image.svg)](https://packagist.org/packages/intervention/image/stats)
Intervention Image is a **image handling and manipulation library written in Intervention Image is an **image handling and manipulation library written in
PHP** providing an easy and expressive way to create, edit, and compose PHP** that provides an easy and expressive way to create, edit and compose
images. GD library or Imagick can be selected as the base layer for all images. The GD library or Imagick can be selected as the base layer for all
operations. operations.
- Simple interface for common image manipulation tasks - Simple interface for common image editing tasks
- Interchangable driver architecture - Interchangable driver architecture
- Support for animated images - Support for animated images
- Framework-agnostic - Framework-agnostic
@@ -18,7 +18,8 @@ operations.
## Installation ## Installation
You can install this package easily with [Composer](https://getcomposer.org/). Just require the package with the following command: You can easily install this package using [Composer](https://getcomposer.org).
Just request the package with the following command:
```bash ```bash
composer require intervention/image composer require intervention/image
@@ -67,9 +68,9 @@ $encoded->save('images/example.jpg');
## Development & Testing ## Development & Testing
With this package comes a Docker image to build a test suite and analysis This package contains a Docker image for building a test suite and an analysis
container. To build this container you have to have Docker installed on your container. You must have Docker installed on your system to run all tests using
system. You can run all tests with this command. the following command.
```bash ```bash
docker-compose run --rm --build tests docker-compose run --rm --build tests