dumbflower logo
Build Status Codacy Badge License

DumbFlower is a simple image manipulation library for PHP. It is an appendage of the GD library, a component of the PHP userland core. The subsequent text is documentation of the library which should help you, the reader, understand how to go about using it.

Installation

Before you can use the dumbflower library, you should have either Git or Composer installed on your system of preference. To install the package via Composer, type the following in your preferred command line interface:

composer require chemem/dumbflower dev-master

Usage

The DumbFlower package, like many PHP libraries, is namespaced. The table below is an enumeration of the library's function groupings and respective namespaces:

Type Namespace
Filters Chemem\DumbFlower\Filters\
Resize functions Chemem\DumbFlower\Resize\
Snapshots Chemem\DumbFlower\Snapshot\

Supported Formats

Since dumbflower is an embellishment of the PHP GD image extension, it supports most image formats included in the extension's documentation. Just in case you do not remember what those extensions are, the list below is a reminder:

  • jpeg

  • gif

  • png

  • webp