alves/gfx-php
最新稳定版本:v1.0.0
Composer 安装命令:
composer require alves/gfx-php
包简介
The pure PHP graphics library
README 文档
README
A pure PHP graphics library
gfx-php is a pure PHP library for reading, writing and processing raster images, without requiring any native extensions such as GD, ImageMagick or GraphicsMagick.
This makes it especially useful in restricted or portable environments, where installing or enabling PHP extensions is not possible.
✨ Features
- Pure PHP implementation — no external image extensions required.
- Support for common raster formats:
- PNG
- GIF
- BMP
- Netpbm formats
(see: File formats documentation)
- Image operations:
- scaling
- cropping
- format conversion
- colorspace transformations
(see: Image operations documentation)
- Designed for portability and predictability across different PHP environments.
🚀 Quick start
Requirements
- PHP 7.0 or newer
zlibextension (required for reading PNG files)
Installation
Install via Composer:
composer require alves/gfx-php
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-or-later
- 更新时间: 2026-01-19