PHPackages                             andrewgjohnson/imagettftextblur - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. andrewgjohnson/imagettftextblur

ActiveLibrary[Image &amp; Media](/categories/media)

andrewgjohnson/imagettftextblur
===============================

imagettftextblur is a drop-in replacement for imagettftext with added parameters to add blur, glow and shadow effects to your PHP GD images

v1.4.0(1mo ago)28249.2k—6.4%111MITPHPPHP &gt;=5.0.0CI passing

Since Nov 25Pushed 1w ago3 watchersCompare

[ Source](https://github.com/andrewgjohnson/imagettftextblur)[ Packagist](https://packagist.org/packages/andrewgjohnson/imagettftextblur)[ Docs](https://imagettftextblur.agjgd.org)[ GitHub Sponsors](https://github.com/andrewgjohnson)[ Patreon](https://www.patreon.com/agjopensource)[ RSS](/packages/andrewgjohnson-imagettftextblur/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (27)Used By (1)

imagettftextblur
================

[](#imagettftextblur)

[![MIT License](https://camo.githubusercontent.com/04922227901ae9b0742e739b586a385fdacbb439766ee50870ea8db097378794/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d3033363664362e706e673f636f6c6f72423d303336366436267374796c653d666c61742d737175617265)](https://github.com/andrewgjohnson/imagettftextblur/blob/master/LICENSE)[![Current Release](https://camo.githubusercontent.com/9a0038b8911d0214cdbffb1263b84b6e854be589639410f9927921ca41886612/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f616e64726577676a6f686e736f6e2f696d61676574746674657874626c75722e706e673f636f6c6f72423d303336366436267374796c653d666c61742d737175617265266c6f676f436f6c6f723d7768697465266c6f676f3d676974687562)](https://github.com/andrewgjohnson/imagettftextblur/releases)[![Contributors](https://camo.githubusercontent.com/0b9af7b754ec905fcf9930c7b2af19fa9b2a6c416eaa2ddd19aea56772ac6416/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f616e64726577676a6f686e736f6e2f696d61676574746674657874626c75722e706e673f636f6c6f72423d303336366436267374796c653d666c61742d737175617265266c6f676f436f6c6f723d7768697465266c6f676f3d676974687562)](https://github.com/andrewgjohnson/imagettftextblur/graphs/contributors)[![Packagist Downloads](https://camo.githubusercontent.com/6c7a18d2d1bc2f4a33c0ee90c3c12bb980fca8c1d3019a74da566f154fd46865/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e64726577676a6f686e736f6e2f696d61676574746674657874626c75722e706e673f636f6c6f72423d303336366436267374796c653d666c61742d737175617265266c6f676f436f6c6f723d7768697465266c6f676f3d7061636b6167697374)](https://packagist.org/packages/andrewgjohnson/imagettftextblur/stats)[![Issues](https://camo.githubusercontent.com/1c4d56a04b3d971ff91ce861beb0d9e7aa663e70e884392043ca7dd5e5df1eb6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f616e64726577676a6f686e736f6e2f696d61676574746674657874626c75722e706e673f636f6c6f72423d303336366436267374796c653d666c61742d737175617265266c6f676f436f6c6f723d7768697465266c6f676f3d676974687562)](https://github.com/andrewgjohnson/imagettftextblur/issues)[![Patreon](documentation/images/patreon-badge.png)](https://patreon.com/agjopensource)

[![](documentation/images/avatar.png)](https://imagettftextblur.agjgd.org/)

Description
-----------

[](#description)

**imagettftextblur** is a drop-in replacement for imagettftext with added parameters to add blur, glow and shadow effects to your PHP GD images.

[![Patreon - Become a Patron](https://camo.githubusercontent.com/24c60c4550632628010d5c53c8cf9abc46d101caea3a76f057bff8884850c3b5/68747470733a2f2f7261737465722e736869656c64732e696f2f62616467652f50617472656f6e2532302d6265636f6d6525323061253230506174726f6e2d4644333334412e706e673f7374796c653d666f722d7468652d6261646765266c6f676f3d70617472656f6e266c6f676f436f6c6f723d464433333441)](https://patreon.com/agjopensource)

**imagettftextblur** is an [agjgd](https://agjgd.org) project.

Examples
--------

[](#examples)

```
// In PHP 8.0 a ninth parameter ($options) was added to imagettftext()
imagettftext($im, 20, 0, 0, 0, $color, $font, $string, array()); // Add text to a GD image
imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string, array()); // This works the same as the line above
imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string, array(), 1); // This will add the same text only blurred

// We also support previous versions of PHP back to 5.0 and the previous version of imagettftext()
imagettftext($im, 20, 0, 0, 0, $color, $font, $string); // Add text to a GD image
imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string); // This works the same as the line above
imagettftextblur($im, 20, 0, 0, 0, $color, $font, $string, 1); // This will add the same text only blurred

```

There are [other examples](https://github.com/andrewgjohnson/imagettftextblur/tree/master/examples) included in the GitHub repository and on [imagettftextblur.agjgd.org](https://imagettftextblur.agjgd.org/examples/).

Usage
-----

[](#usage)

### With Composer

[](#with-composer)

This project offers support for the [Composer](https://getcomposer.org/) dependency manager. You can find the imagettftextblur package online on [packagist.org](https://packagist.org/packages/andrewgjohnson/imagettftextblur).

#### Install using Composer

[](#install-using-composer)

Either run this command:

```
composer require andrewgjohnson/imagettftextblur

```

or add this to the `require` section of your composer.json file:

```
"andrewgjohnson/imagettftextblur": "1.*"

```

### Without Composer

[](#without-composer)

To use without Composer add an [include](https://www.php.net/manual/en/function.include.php) to the [`imagettftextblur.php` source file](https://raw.githubusercontent.com/andrewgjohnson/imagettftextblur/master/source/imagettftextblur.php).

```
include 'source/imagettftextblur.php';

```

Help Requests
-------------

[](#help-requests)

Please post any questions in the [discussions area](https://github.com/andrewgjohnson/imagettftextblur/discussions) on GitHub if you need help.

If you discover a bug please [enter an issue](https://github.com/andrewgjohnson/imagettftextblur/issues/new) on GitHub. When submitting an issue please use our [issue templates](https://github.com/andrewgjohnson/imagettftextblur/tree/master/.github/ISSUE_TEMPLATE).

Contributing
------------

[](#contributing)

Please read our [contributing guidelines](https://github.com/andrewgjohnson/imagettftextblur/blob/master/.github/CONTRIBUTING.md) if you want to contribute.

You can contribute financially by becoming a [patron](https://patreon.com/agjopensource) at [patreon.com/agjopensource](https://patreon.com/agjopensource) to support imagettftextblur and [other agjgd.org projects](https://agjgd.org/projects/).

[![Patreon - Become a Patron](https://camo.githubusercontent.com/24c60c4550632628010d5c53c8cf9abc46d101caea3a76f057bff8884850c3b5/68747470733a2f2f7261737465722e736869656c64732e696f2f62616467652f50617472656f6e2532302d6265636f6d6525323061253230506174726f6e2d4644333334412e706e673f7374796c653d666f722d7468652d6261646765266c6f676f3d70617472656f6e266c6f676f436f6c6f723d464433333441)](https://patreon.com/agjopensource)

Acknowledgements
----------------

[](#acknowledgements)

This project was started by [Andrew G. Johnson (@andrewgjohnson)](https://github.com/andrewgjohnson).

Full list of contributors:

- [Andrew G. Johnson (@andrewgjohnson)](https://github.com/andrewgjohnson)
- [Philip van Heemstra (@vHeemstra)](https://github.com/vHeemstra)
- [Imgbot (@ImgBotApp)](https://github.com/ImgBotApp)

Our [security policies and procedures](https://github.com/andrewgjohnson/imagettftextblur/blob/master/.github/SECURITY.md) come via the [atomist/samples](https://github.com/atomist/samples/blob/master/SECURITY.md) project. Our [issue templates](https://github.com/andrewgjohnson/imagettftextblur/tree/master/.github/ISSUE_TEMPLATE) come via the [tensorflow/tensorflow](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) project. Our [pull request template](https://github.com/andrewgjohnson/imagettftextblur/blob/master/.github/PULL_REQUEST_TEMPLATE.md) comes via the [stevemao/github-issue-templates](https://github.com/stevemao/github-issue-templates) project. The [Jekyll theme](https://github.com/andrewgjohnson/open-source-documentation-jekyll-theme) was released by [Andrew G. Johnson](https://github.com/andrewgjohnson).

Changelog
---------

[](#changelog)

You can find all notable changes in the [changelog](https://github.com/andrewgjohnson/imagettftextblur/blob/master/CHANGELOG.md).

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity47

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~145 days

Recently: every ~13 days

Total

25

Last Release

13d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1124501?v=4)[Andrew G. Johnson](/maintainers/andrewgjohnson)[@andrewgjohnson](https://github.com/andrewgjohnson)

---

Top Contributors

[![andrewgjohnson](https://avatars.githubusercontent.com/u/1124501?v=4)](https://github.com/andrewgjohnson "andrewgjohnson (183 commits)")[![ImgBotApp](https://avatars.githubusercontent.com/u/31427850?v=4)](https://github.com/ImgBotApp "ImgBotApp (2 commits)")[![vHeemstra](https://avatars.githubusercontent.com/u/17368112?v=4)](https://github.com/vHeemstra "vHeemstra (1 commits)")

---

Tags

composergdgraphicsimageimagesphpimagegdgraphicsimages

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/andrewgjohnson-imagettftextblur/health.svg)

```
[![Health](https://phpackages.com/badges/andrewgjohnson-imagettftextblur/health.svg)](https://phpackages.com/packages/andrewgjohnson-imagettftextblur)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k208.9M2.6k](/packages/intervention-image)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k53.3M146](/packages/league-glide)[gregwar/image

Image handling

1.0k4.1M50](/packages/gregwar-image)[rosell-dk/webp-convert

Convert JPEG &amp; PNG to WebP with PHP

6049.0M63](/packages/rosell-dk-webp-convert)[sybio/image-workshop

Powerful PHP class using GD library to work easily with images including layer notion (like Photoshop or GIMP)

854945.6k12](/packages/sybio-image-workshop)[intervention/image-laravel

Laravel Integration of Intervention Image

1588.9M183](/packages/intervention-image-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
