robiningelbrecht / puzzle-generator
Package info
github.com/robiningelbrecht/puzzle-generator
Language:HTML
pkg:composer/robiningelbrecht/puzzle-generator
Requires
- php: ^8.1
- erusev/parsedown: ^1.7
- league/csv: ^9.8
- php-di/php-di: ^6.4
- slim/psr7: ^1.5
- slim/slim: ^4.10
- thecodingmachine/safe: ^2.4
- twig/twig: ^3.4
- vlucas/phpdotenv: ^5.5
- zadorin/airtable-php: ^0.6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.12
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- spatie/phpunit-snapshot-assertions: ^4.2
- thecodingmachine/phpstan-safe-rule: ^1.2
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-15 02:16:27 UTC
README
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
and PuzzleGen. Thanks to tdecker91
for providing these!
Documentation
The full documentation is available on https://puzzle-generator.robiningelbrecht.be
Some examples
Default
https://puzzle-generator.robiningelbrecht.be/cube
Scrambled
https://puzzle-generator.robiningelbrecht.be/cube?cube[algorithm]=M2 E2 S2
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
