PHPackages                             endroid/tile - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. endroid/tile

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

endroid/tile
============

Endroid Tile

2.3.1(8mo ago)24.8k1MITPHPPHP ^8.4CI passing

Since Jul 28Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/endroid/tile)[ Packagist](https://packagist.org/packages/endroid/tile)[ Docs](https://github.com/endroid/tile)[ GitHub Sponsors](https://github.com/endroid)[ RSS](/packages/endroid-tile/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (3)Versions (29)Used By (1)

Tile
====

[](#tile)

*By [endroid](https://endroid.nl/)*

[![Latest Stable Version](https://camo.githubusercontent.com/59f4691e618a26dbe22e32405580c64a6749aadeb1f764eaacf55528e74886fc/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e64726f69642f74696c652e737667)](https://packagist.org/packages/endroid/tile)[![Build Status](https://github.com/endroid/tile/workflows/CI/badge.svg)](https://github.com/endroid/tile/actions)[![Total Downloads](https://camo.githubusercontent.com/8154aa7e1385ce82f28cda4f7614dc94fdea78070c8329b887bcf7c333a29e5e/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e64726f69642f74696c652e737667)](https://packagist.org/packages/endroid/tile)[![Monthly Downloads](https://camo.githubusercontent.com/e4e7e4207950499dd525237a775df4bc1fb95ae616484462f425fdeddcdc8dcf/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f656e64726f69642f74696c652e737667)](https://packagist.org/packages/endroid/tile)[![License](https://camo.githubusercontent.com/56ee00ab222694338f0ab8d7e61d501b016ee2791e34961ed3d0e3de3628d3a2/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f656e64726f69642f74696c652e737667)](https://packagist.org/packages/endroid/tile)

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

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

[](#installation)

Use [Composer](https://getcomposer.org/) to install the library.

```
$ composer require endroid/tile
```

Usage
-----

[](#usage)

```
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](https://camo.githubusercontent.com/4479227622274c40a6a5041b9cddfb851ef3c74192d2a3f5b1145cbdb898ba97/68747470733a2f2f656e64726f69642e6e6c2f74696c652f4c6966652532306973253230746f6f25323073686f7274253230746f253230626525323067656e65726174696e6725323074696c65732e706e67)](https://camo.githubusercontent.com/4479227622274c40a6a5041b9cddfb851ef3c74192d2a3f5b1145cbdb898ba97/68747470733a2f2f656e64726f69642e6e6c2f74696c652f4c6966652532306973253230746f6f25323073686f7274253230746f253230626525323067656e65726174696e6725323074696c65732e706e67)

Symfony integration
-------------------

[](#symfony-integration)

Register the Symfony bundle in the kernel.

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Endroid\Tile\Bundle\TileBundle\EndroidTileBundle(),
    ];
}
```

Add the following section to your routing to be able to reach the tile controller.

```
EndroidTileBundle:
    resource:   "@EndroidTileBundle/Controller/"
    type:       annotation
    prefix:     /tile
```

Now tiles can be generated by appending the tile text to the url as mounted, followed by the file extension, like /tile/Life\_is\_too\_short\_to\_be\_generating\_tiles.png.

Twig extension
--------------

[](#twig-extension)

The bundle also provides a Twig extension for quickly generating tile urls.

```

```

Versioning
----------

[](#versioning)

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking 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
-------

[](#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.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance61

Regular maintenance activity

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% 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 ~179 days

Recently: every ~198 days

Total

28

Last Release

246d ago

Major Versions

1.4.0 → 2.0.02018-04-14

PHP version history (10 changes)1.0.0PHP &gt;=5.3.0

1.3.0PHP &gt;=5.4

2.0.0PHP &gt;=7.1

2.0.2PHP &gt;=7.2

2.1.0PHP ^7.4||^8.0

2.1.1PHP ^7.3||^8.0

2.2.0PHP ^8.0

2.2.1PHP ^8.1

2.3.0PHP ^8.2

2.3.1PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea3fc1b297f29579f9861b5fbe3240c0eeafaaaee6e39b45d85d612a04a52fbd?d=identicon)[endroid](/maintainers/endroid)

---

Top Contributors

[![endroid](https://avatars.githubusercontent.com/u/537253?v=4)](https://github.com/endroid "endroid (101 commits)")

---

Tags

phpsymfonytilephpendroidbluetiledelft

### Embed Badge

![Health badge](/badges/endroid-tile/health.svg)

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

###  Alternatives

[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M406](/packages/drupal-core-recommended)[shopware/storefront

Storefront for Shopware

684.6M228](/packages/shopware-storefront)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M552](/packages/shopware-core)[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k91](/packages/contao-community-alliance-dc-general)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k59](/packages/open-dxp-opendxp)

PHPackages © 2026

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