Thank you for considering contributing to the GiveWP Test Donation Generator! This document outlines the process for contributing to this project.
- WordPress development environment
- GiveWP plugin installed and activated
- PHP 7.4 or higher
- Composer (optional, for development dependencies)
-
Clone the repository into your WordPress plugins directory:
cd wp-content/plugins/ git clone https://github.com/impress-org/givewp-test-donation-generator.git -
Activate the plugin in your WordPress admin panel.
This project follows the same coding standards as the main GiveWP plugin:
- PHP: WordPress Coding Standards (WPCS)
- JavaScript: WordPress JavaScript Coding Standards
- CSS: WordPress CSS Coding Standards
- Use PSR-4 autoloading
- Follow WordPress naming conventions
- Include proper DocBlocks for all functions and classes
- Use type hints where appropriate
All PHP classes should use the GiveFaker\TestDonationGenerator namespace.
- Fork the repository
- Create a feature branch from
develop - Make your changes
- Test your changes thoroughly
- Submit a pull request to the
developbranch
Use clear, descriptive commit messages:
feat: Add donation mode selection setting
fix: Resolve issue with fee amount calculation
docs: Update README with new features
Before submitting a pull request:
- Test the addon with various GiveWP configurations
- Verify that test donations are created correctly
- Check that the admin interface works as expected
- Ensure no PHP errors or warnings are generated
When reporting issues, please include:
- WordPress version
- GiveWP version
- PHP version
- Steps to reproduce the issue
- Expected vs. actual behavior
- Any error messages
We welcome feature requests! Please:
- Check if the feature has already been requested
- Provide a clear description of the proposed feature
- Explain the use case and benefits
- Consider if this fits within the scope of a test data generator
This project follows the WordPress Community Code of Conduct.
If you have questions about contributing, feel free to:
- Open an issue for discussion
- Contact the GiveWP team
- Check the GiveWP documentation
Thank you for helping improve the GiveWP Test Donation Generator!