PHPackages                             robiningelbrecht/puzzle-generator - 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. robiningelbrecht/puzzle-generator

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

robiningelbrecht/puzzle-generator
=================================

1001HTML

Since Nov 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/robiningelbrecht/puzzle-generator)[ Packagist](https://packagist.org/packages/robiningelbrecht/puzzle-generator)[ RSS](/packages/robiningelbrecht-puzzle-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Puzzle generator
================

[](#puzzle-generator)

 [![Slim](https://raw.githubusercontent.com/robiningelbrecht/puzzle-generator/master/public/logo.png)](https://raw.githubusercontent.com/robiningelbrecht/puzzle-generator/master/public/logo.png)

[![CI](https://github.com/robiningelbrecht/puzzle-generator/actions/workflows/ci.yml/badge.svg)](https://github.com/robiningelbrecht/puzzle-generator/actions/workflows/ci.yml)[![Codecov.io](https://camo.githubusercontent.com/51237a9eedfaaca7b1206ab8ac78b4de9c53f48978719cc1316d8dd79e6b0000/68747470733a2f2f636f6465636f762e696f2f67682f726f62696e696e67656c6272656368742f70757a7a6c652d67656e657261746f722f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d68676e6c465776577677)](https://codecov.io/gh/robiningelbrecht/puzzle-generator)[![License](https://camo.githubusercontent.com/6403a2663886854022a526bdf6202aab6a21a5827042874d16fe30c7a3192f12/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726f62696e696e67656c6272656368742f70757a7a6c652d67656e657261746f723f636f6c6f723d343238663765266c6f676f3d6f70656e253230736f75726365253230696e6974696174697665266c6f676f436f6c6f723d7768697465)](https://github.com/robiningelbrecht/puzzle-generator/blob/master/LICENSE)[![PHPStan Enabled](https://camo.githubusercontent.com/cb01a196883cd3d15842161f335945a81aff81c4c55d44b9f3b9a648ebf0f774/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d7375636365732e7376673f6c6f676f3d706870266c6f676f436f6c6f723d776869746526636f6c6f723d333143363532)](https://phpstan.org/)[![PHP](https://camo.githubusercontent.com/42aa943d7c90d4585074334afaddec512b26afacdfae8c3db4bb24d3b184137f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726f62696e696e67656c6272656368742f70757a7a6c652d67656e657261746f722f6465762d6d61737465723f636f6c6f723d253233373737626233266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://php.net/)

---

This is a PHP library intended to render Rubik's cube puzzles as SVG images. The idea is to do this by navigating to `https://puzzle-generator.robiningelbrecht.be/cube`and provide query parameters to configure the desired cube.

It's heavily inspired by [visualcube](https://github.com/tdecker91/visualcube)and [PuzzleGen](https://github.com/tdecker91/puzzle-gen). Thanks to `tdecker91`for providing these!

Documentation
-------------

[](#documentation)

The full documentation is available on

Some examples
-------------

[](#some-examples)

### Default

[](#default)

```
https://puzzle-generator.robiningelbrecht.be/cube

```

[![default](https://camo.githubusercontent.com/1ad48ee8f66a30f60e8677e9a27d5d464d50b89c7a9e84672d4e95c66734a9a2/68747470733a2f2f70757a7a6c652d67656e657261746f722e726f62696e696e67656c6272656368742e62652f63756265)](https://camo.githubusercontent.com/1ad48ee8f66a30f60e8677e9a27d5d464d50b89c7a9e84672d4e95c66734a9a2/68747470733a2f2f70757a7a6c652d67656e657261746f722e726f62696e696e67656c6272656368742e62652f63756265)

### Scrambled

[](#scrambled)

```
https://puzzle-generator.robiningelbrecht.be/cube?cube[algorithm]=M2 E2 S2

```

[![scrambled](https://camo.githubusercontent.com/b64e537dc1d768601214d69fafccbbfd4ca923946587fe50031b6751733f5c69/68747470733a2f2f70757a7a6c652d67656e657261746f722e726f62696e696e67656c6272656368742e62652f637562653f63756265253542616c676f726974686d2535443d4d3225323045322532305332)](https://camo.githubusercontent.com/b64e537dc1d768601214d69fafccbbfd4ca923946587fe50031b6751733f5c69/68747470733a2f2f70757a7a6c652d67656e657261746f722e726f62696e696e67656c6272656368742e62652f637562653f63756265253542616c676f726974686d2535443d4d3225323045322532305332)

Development
-----------

[](#development)

Feel free to fork and make changes to your needs. Consider giving it a ⭐ when you do.

Clone repository

```
> git clone git@github.com:robiningelbrecht/puzzle-generator.git
```

Build Docker containers

```
> docker-compose up --build -d
```

Install dependencies

```
> docker-compose run --rm php-cli composer install
```

Navigate to `http://localhost:9090`

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c460d3d078ca95a2f552ae1eb15d4fb916781d264149a1d5ca503fe69967b91?d=identicon)[robiningelbrecht](/maintainers/robiningelbrecht)

---

Top Contributors

[![robiningelbrecht](https://avatars.githubusercontent.com/u/203894?v=4)](https://github.com/robiningelbrecht "robiningelbrecht (80 commits)")

---

Tags

phprubiks-cube

### Embed Badge

![Health badge](/badges/robiningelbrecht-puzzle-generator/health.svg)

```
[![Health](https://phpackages.com/badges/robiningelbrecht-puzzle-generator/health.svg)](https://phpackages.com/packages/robiningelbrecht-puzzle-generator)
```

###  Alternatives

[voku/php-hooks

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

7637.3k3](/packages/voku-php-hooks)

PHPackages © 2026

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