endroid/tile

Endroid Tile

Installs: 2 512

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

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatible changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

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.