Skip to content

This plugin provides a connector to connect to a local or remote CiviCRM. This connector can then be reused by other plugins such as the Integration of CiviCRM's Form Processor with Caldera Forms

License

Notifications You must be signed in to change notification settings

CiviMRF/civimcrestface-wordpress

Repository files navigation

Wordpress Connector to CiviCRM with CiviMcRestFace

This plugin provides a connector to connect to a local or remote CiviCRM. This connector can then be reused by other plugins such as the Integration of CiviCRM's Form Processor with Caldera Forms

Configuration

Configuration can be done under Settings > CiviCRM McRestFace Connections.

Plugins using the CiviCRM McRestFace Connector

Funded by

How to install

Open a terminal to your wordpress installation.

cd wp-content/plugins
git clone https://github.com/CiviMRF/civimcrestface-wordpress.git wpcmrf
cd wpcmrf
composer install

Then login in the admin of your wordpress installation and activate this plugin.

Contributing

The code of this plugin is published and maintained at Github. The plugin is also published at Wordpress.org and this requires that we submit each release to the Wordpress SVN

Workflow for development

  1. Fork the repository at Github
  2. Create a new branch for the functionality you want to develop, or for the bug you want to fix.
  3. Write your code and test it, once you are finished push it to your fork.
  4. Create a Pull Request at Github to notify us to merge your changes.

Workflow for creating a release

Based on the instruction from Learn with Daniel

  1. Update readme.txt with the new version number (also update the Changelog section)
  2. Update wpcmrf.php with the new version number
  3. Create a new version at Github.
  4. To publish the release at Wordpress Plugin directory follow the following steps:
    1. Create a temp directory: mkdir civimcrestface-wordpress-tmp
    2. Go into this directory: cd civimcrestface-wordpress-tmp
    3. Do an SVN checkout into SVN directory: svn checkout https://plugins.svn.wordpress.org/connector-civicrm-mcrestface svn
    4. Clone the Github repository into Github directory: git clone https://github.com/CiviMRF/civimcrestface-wordpress.git github
    5. Go into the Github directory: cd github
    6. Checkout the created release (in our example 1.0.0): git checkout 1.0.0
    7. Do a composer install: composer install --no-dev --optimize-autoloader
    8. Go into the svn directory: cd ../svn
    9. Copie the files from github to SVN: rsync -rc --exclude-from="../github/.distignore" "../github/" trunk/ --delete --delete-excluded
    10. Add the files to SVN: svn add . --force
    11. Tag the release in SVN (in our example 1.0.0): svn cp "trunk" "tags/1.0.0"
    12. Now submit to the Wordpress SVN with a message: svn ci -m 'Adding 1.0.0'

License

The plugin is licensed under AGPL-3.0.

About

This plugin provides a connector to connect to a local or remote CiviCRM. This connector can then be reused by other plugins such as the Integration of CiviCRM's Form Processor with Caldera Forms

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages