# spatie/image

https://spatie.be/docs/image/v3/introduction

Repository: https://github.com/spatie/image
Canonical: https://ross.abutalabs.com/products/spatie-image
Homepage: https://freek.dev/2619-new-major-versions-for-spatieimage-and-laravel-media-library-have-been-released
Language: PHP
License: MIT
License Family: permissive
Topics: image, php, imagick, gd
Last push: 2026-08-18T08:49:30+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3501, "days_push": 15, "days_rel": 15, "gap_med": 43, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1364, forks 139 (observed 2026-08-28T04:04:31.021842+00:00)

## What it is
A PHP library for manipulating images with an expressive, fluent API, supporting drivers like Imagick and GD. It provides operations such as resizing, fitting, cropping, rotating, applying filters (greyscale, sepia, blur), and format conversion.

## Use cases
- resize images in php
- convert jpg to png with php
- crop and fit images without distorting aspect ratio
- apply filters like greyscale or sepia to images
- compress images by lowering quality
- rotate and sharpen photos programmatically

## When to choose
- you need simple, expressive image manipulation in a PHP project
- you want a driver-agnostic API that works with both Imagick and GD
- you use Laravel Media Library or other Spatie packages that depend on it

## When to avoid
- you need advanced computer vision or AI-based image analysis
- you are not working in PHP
- you need a full-featured image editing application rather than a library

## Facets
- artifact type: library
- maturity: stable
- function: image-processing
- domain: image-processing, web-development
- platform: php
- tags: imagick, gd, fluent-api, image-manipulation, spatie

## Member repositories
- spatie/image (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.021842+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:22.438212+00:00, confidence not recorded.
  - readme: https://github.com/spatie/image (fetched 2026-08-28T04:04:31.021842+00:00, sha 3a81f9c17d58)
  - homepage: https://freek.dev/2619-new-major-versions-for-spatieimage-and-laravel-media-library-have-been-released (fetched 2026-08-29T11:58:45.358456+00:00, sha 42536b72d0fb)
  - site_page: https://freek.dev/about (fetched 2026-08-29T11:58:45.367931+00:00, sha e0ef9dccbb05)
- Data as of 2026-08-30T08:39:29.467469+00:00.
