PHPackages                             theseconddre/pattern-creator - 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. theseconddre/pattern-creator

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

theseconddre/pattern-creator
============================

Generates a specific customisable pattern with php GD

112PHP

Since Feb 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/theseconddre/PatternCreator)[ Packagist](https://packagist.org/packages/theseconddre/pattern-creator)[ RSS](/packages/theseconddre-pattern-creator/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PatternCreator
==============

[](#patterncreator)

Generates a specific, customisable &amp; graphic pattern with php GD.

[![Example of random pattern](https://raw.githubusercontent.com/theseconddre/PatternCreator/master/examples/result.jpg)](https://raw.githubusercontent.com/theseconddre/PatternCreator/master/examples/result.jpg)

How to install my package? :-)
------------------------------

[](#how-to-install-my-package--)

Very easy: Just add the following line to your require block in composer.json

```
"require": {
	"theseconddre/pattern-creator": "dev-master"
}

```

How to use my class?
--------------------

[](#how-to-use-my-class)

Then if you want to **generate a blue pattern made of squares** in your browser, just type these lines (already coded in PatternCreator/examples/index.php)

```
