apermo / apermo-notify
A WordPress apermo-notify plugin.
Package info
github.com/apermo/apermo-notify
Type:wordpress-plugin
pkg:composer/apermo/apermo-notify
Requires
- php: >=8.1
Requires (Dev)
- apermo/apermo-coding-standards: ^3.0
- apermo/phpstan-wordpress-rules: ^0.2
- brain/monkey: ^2.6
- phpstan/extension-installer: ^1.4
- phpunit/phpunit: ^11.0
- szepeviktor/phpstan-wordpress: ^2.0
- yoast/phpunit-polyfills: ^3.0
This package is auto-updated.
Last update: 2026-05-25 15:07:34 UTC
README
GitHub template repository for bootstrapping WordPress plugins and themes. Ships both plugin and theme scaffolding; a setup.sh script lets developers choose their mode and configures the project accordingly.
Requirements
- PHP 8.1+
- WordPress 7.0+ (the
manage-subscriptionsblock uses the PHP-onlyblock.jsonrender manifest that's reliable from 7.0 onwards;wp_admin_notice()from 6.4 is also relied on) - Composer
- Node.js 20+ and npm (activates husky pre-commit hook, runs Playwright)
- DDEV (for local development)
Installation
- Create a new repository from this template
- Clone your new repository
- Run the setup script:
bash setup.sh
The script prompts for:
- Slug (kebab-case, e.g.
my-plugin) - Namespace (e.g.
Apermo\MyPlugin) - Composer package name
- Mode (
pluginortheme)
It replaces all placeholders, removes irrelevant mode files, configures DDEV, and optionally sets up GitHub labels and branch protection.
Development
composer install npm install # Activates husky hook + installs Playwright 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 npm run test:e2e # Run Playwright E2E tests (incl. WCAG 2.1 AA a11y checks)
Local WordPress Environment
ddev start && ddev orchestrate
Uses ddev-orchestrate to download WordPress, create wp-config.php, install, and activate the plugin/theme.
Git Hooks
The pre-commit hook (PHPCS + PHPStan) is managed by husky
and activates automatically after npm install. No manual configuration required.
Template Sync
To pull upstream template changes into a derived project:
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