endroid/tile

Endroid Tile

Installs: 2 463

Dependents: 1

Stars: 1

Watchers: 1

Language: PHP

1.2.7 2015-07-04 19:48 UTC

README

By endroid

Latest Stable Version Build Status Total Downloads License

This library helps you generate images containing a typically Delft blue tile background and a saying.

Installation

Use Composer to install the library.

$ composer require endroid/tile

Usage

<?php

use Endroid\Tile\Tile;

$tile = new Tile();
$this->setBackground(Tile::BACKGROUND_C);
$tile->setText("Life is too short to be generating tiles");
$tile->setSize(300);
$tile->render();

Tile

Symfony

You can use EndroidTileBundle to enable this service in your Symfony application.

Versioning

Semantic versioning (semver) is applied as much as possible.

License

This bundle is under the MIT license. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.