impress-org / givewp

GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
https://givewp.com/
GNU General Public License v3.0
346 stars 191 forks source link
accept-donations donation-plugin donations ecommerce fundraising fundraising-plugin givewp php wordpress wordpress-plugin wordpress-site

GiveWP - The #1 WordPress Fundraising Plugin πŸ’š

This plugin is the highest rated, most downloaded, and best supported donation plugin for WordPress. Built from the ground up for all your fundraising needs, GiveWP provides you with a powerful donation platform optimized for online giving that's both easy-to-use for beginners yet flexible for developers to craft their own unique giving experiences.


πŸ‘‰ Not a developer? Running WordPress? Download GiveWP on WordPress.org.

WordPress version WordPress Rating WordPress Downloads License Wordpress Tests

Welcome to the GiveWP GitHub repository. This is the core repository and heart of an ecosystem of active development. Here you can browse the source, look at open issues, and contribute to the project.

Many of our add-ons are in public repositories, however, the majority are private. If you have a legitimate need for access, please reach out to us and we'll be happy to grant you access.

πŸ™‹ Support

This repository is not suitable for WordPress admin or donor support. Please don't use GitHub issues for non-development related support requests. Don't get us wrong, we're more than happy to help you! However, to get the support you need please use the following channels:

🌱 Getting Started

If you're looking to contribute or actively develop on GiveWP, welcome! We're glad you're here. Please ⭐️ this repository and fork it to begin local development.

Most of us are using Local by Flywheel to develop on WordPress, which makes set up quick and easy. If you prefer Docker, VVV, or another flavor of local development that's cool too!

βœ… Prerequisites

πŸ’» Local Development

To get started developing on the GiveWP platform you will need to perform the following steps:

  1. Create a new WordPress site with give.test as the URL
  2. cd into your local plugins directory: /path/to/wp-content/plugins/
  3. Fork this repository from GitHub and then clone that into your plugins directory in a new give directory
  4. Run composer install to set up dependencies
  5. Run npm install to get the necessary npm packages
  6. Run npm run dev to build the initial scripts & styles
  7. Activate the plugin in WordPress

That's it. You're now ready to start development.

Available commands

Note: as of GiveWP 3.0 we have two separate build processes. One for the legacy codebase that uses Laravel Mix and one for scripts introduced 3.0+ that use @wordpress/scripts. There are commands for running both and individual processes. The commands are as follows:

Command Description
npm run dev (v2 & v3) Runs a one time build for development. No production files are created.
npm run dev:v3 (v3) Runs a one time build for development. No production files are created.
npm run watch (v2) Automatically re-builds as changes are made.
npm run watch:v3 (v3) Automatically re-builds as changes are made.
npm run build (v2 & v3) Builds the minified production files for release.
npm run build:v3 (v3) Builds the minified production files for release.

Development Notes