PHPackages                             filpgame/image-with-text - 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. filpgame/image-with-text

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

filpgame/image-with-text
========================

Create images with embedded text and advanced typography

2.0.3(11y ago)043MITPHPPHP &gt;=5.3.0

Since Nov 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/filpgame/image-with-text)[ Packagist](https://packagist.org/packages/filpgame/image-with-text)[ Docs](http://github.com/nmcteam/image-with-text)[ RSS](/packages/filpgame-image-with-text/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (10)Used By (0)

Image with Text
===============

[](#image-with-text)

This class makes it super easy to render images with multiple, independently styled text blocks. You can control each text block's alignment, color, font, line height, and size. You may also position each text block with specific X and Y coordinates relative to the source image.

Installation
------------

[](#installation)

Install this library with [Composer](http://getcomposer.org). Add this to your `composer.json` file:

```
{
    "require": {
        "nmcteam/image-with-text": "~2.0"
    }
}

```

Then run `composer install`.

Usage
-----

[](#usage)

Here's a quick demonstration. You can find this full working demo in the `example/`directory.

```
