https://github.com/apermo/mc-tools
A WordPress plugin providing a collection of Gutenberg blocks for Minecraft
https://github.com/apermo/mc-tools
Last synced: about 1 month ago
JSON representation
A WordPress plugin providing a collection of Gutenberg blocks for Minecraft
- Host: GitHub
- URL: https://github.com/apermo/mc-tools
- Owner: apermo
- License: gpl-2.0
- Created: 2026-03-28T07:35:15.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-05T14:50:04.000Z (about 2 months ago)
- Last Synced: 2026-04-30T07:44:26.811Z (about 1 month ago)
- Language: PHP
- Size: 36.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# MC Tools
[](https://github.com/apermo/mc-tools/actions/workflows/ci.yml)
[](LICENSE)
A WordPress plugin providing a collection of Gutenberg blocks for Minecraft.
## Requirements
- PHP 8.1+
- WordPress 6.2+
- Composer
## Installation
```bash
composer install
```
## Development
```bash
composer cs # Run PHPCS
composer cs:fix # Fix PHPCS violations
composer analyse # Run PHPStan
composer test # Run all tests
composer test:unit # Run unit tests only
composer test:integration # Run integration tests only
```
### Local WordPress Environment
```bash
ddev start && ddev orchestrate
```
Uses [ddev-orchestrate](https://github.com/apermo/ddev-orchestrate) to download WordPress, create `wp-config.php`,
install, and activate the plugin.
### Git Hooks
Enable the pre-commit hook (PHPCS + PHPStan on staged files):
```bash
git config core.hooksPath .githooks
```
## Template Sync
To pull upstream template changes:
```bash
git remote add template https://github.com/apermo/template-wordpress.git
git fetch template
git checkout -b chore/sync-template
git merge template/main --allow-unrelated-histories
```
## License
[GPL-2.0-or-later](LICENSE)