robiningelbrecht / puzzle-generator
dev-master
2023-03-14 18:17 UTC
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
This package is auto-updated.
Last update: 2024-09-14 21:55:22 UTC
README
这是一个PHP库,旨在将魔方谜题渲染为SVG图像。方法是导航到 https://puzzle-generator.robiningelbrecht.be/cube
并提供查询参数来配置所需的魔方。
它深受 visualcube 和 PuzzleGen 的启发。感谢 tdecker91
提供这些内容!
文档
完整文档可在 https://puzzle-generator.robiningelbrecht.be 上找到
一些示例
默认
https://puzzle-generator.robiningelbrecht.be/cube
打乱
https://puzzle-generator.robiningelbrecht.be/cube?cube[algorithm]=M2 E2 S2
开发
请随意进行分支并修改以满足您的需求。如果您这样做,请考虑给它一个 ⭐。
克隆仓库
> git clone git@github.com:robiningelbrecht/puzzle-generator.git
构建Docker容器
> docker-compose up --build -d
安装依赖项
> docker-compose run --rm php-cli composer install
导航到 http://localhost:9090