Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/glerner/reinvent/archive/refs/heads/main.zipReinvent Coaching Process – WordPress Plugin
by George Lerner, GitHub https://github.com/glerner/
A professional WordPress plugin for guiding users through the Reinvent Coaching Process, inspired by the Hero's Journey and Super Self frameworks. The plugin presents a series of reflective questions, explanations, and input fields to help users document, edit, and analyze their personal reinvention journeys.
The app will ask the user about themselves:
-
ask the user what they want next in life
-
ask the user what skills they have, what projects interest them, what their attention is on, what they are drawn to, what they want to learn
-
ask the users about past times they reinvented themselves, or had a massive change in life. Go through each of the coaching questions, for each element of that reinvention
-
analyze the user's personality type, motivators, what they avoid, what learning style they have,
-
analyze the progression in their life, how each reinvention got them to the start of the next reinvention, leading them to where they are today
-
Taking everything the user has said, select 5 to 20 ways they could reinvent themselves now, consistent with who they are now, that would increase their financial, business, health, relationship, community, as many aspects of their life as possible.
Features
-
Interactive questionnaire with explanations for each step of the reinvention process
-
Supports multiple reinvention journeys per user
-
Save, retrieve, and edit answers at any time
-
Clean, accessible UI for large text input fields
-
Integration-ready for future AI-powered analysis and insights
-
Built using PHP, WordPress API, and follows Model-Service-View-Controller (MSVC) architecture
-
Fully unit tested with PHPUnit and custom test framework
Getting Started
Prerequisites
- WordPress 6.0+
- PHP 8.0+
- Composer (for dependency management)
- Git
Installation
-
Clone this repository into your WordPress
wp-content/plugins/directory:cd ~/your-sites-wordpress/wp-content/plugins git clone https://github.com/glerner/reinvent.git reinvent-coaching-process cd reinvent-coaching-process -
Initialize and update submodules:
git submodule update --init --recursive -
Install Composer dependencies:
composer install
Development Setup
Composer Configuration
The plugin uses Composer for autoloading and dependency management. The root composer.json defines the autoloading for the GL_Reinvent namespace.
Testing Framework
The testing framework is included as a Git submodule. The sync-to-wp.php script handles merging the test framework's Composer configuration with the plugin's configuration.
Running Tests
- Ensure you have a local WordPress installation with a test database
- Copy
.env.testing.exampleto.env.testingand update the database credentials - Run the sync and test script:
php bin/sync-and-test.php --unit
Available test commands:
--unit: Run unit tests--wp-mock: Run WP_Mock tests--integration: Run integration tests--all: Run all test suites
Development Workflow
- Make your code changes
- Write or update tests
- Run the tests:
php bin/sync-and-test.php --unit - The script will automatically sync your changes to the test environment and run the tests
- Activate the plugin from the WordPress admin dashboard.
Development
- Follows WordPress coding standards and naming conventions
- Uses Model-Service-View-Controller (MSVC) structure
- All classes, methods, and variables are documented in
docs/guides/code-inventory.md - Unit tests are written using PHPUnit (see
tests/directory)
Documentation
- See
docs/guides/developer-guide.mdfor setup, architecture, and contribution guidelines. - See
docs/guides/code-inventory.mdfor a full inventory of classes, methods, and variables.
Contributing
Contributions are welcome! Please:
- Follow the coding standards and architecture described in the developer guide
- Write or update unit tests for any code changes
- Document new classes or methods in the code inventory