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

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

nmcteam/image-with-text
=======================

Create images with embedded text and advanced typography

2.2.0(8y ago)14073.5k↓35.3%34[7 issues](https://github.com/nmcteam/image-with-text/issues)[1 PRs](https://github.com/nmcteam/image-with-text/pulls)MITPHPPHP &gt;=5.3.0

Since Nov 14Pushed 8y ago9 watchersCompare

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

READMEChangelog (5)Dependencies (1)Versions (11)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.

```
