Download the PHP package blackbricksoftware/gravityforms-civicrm-form-processor without Composer

On this page you can find all versions of the php package blackbricksoftware/gravityforms-civicrm-form-processor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gravityforms-civicrm-form-processor

Gravity Forms CiviCRM Form Processor

Send remote requests to CiviCRM with Gravity Forms Webhooks. This can be done directly to the CiviCRM API or via Form Processor.

What does this extension do?

TL;DR; This extension makes it easier to send data from a Gravity Form to a remote CiviCRM installation.

The CiviCRM REST REST API consumed data via encoded JSON a HTTP form post. In APIv3, this variable is json, in APIv4 this variable is params. Out of the box, the Gravity Forms Webhooks extension does not support structured JSON or combining data encodings like this (i.e. a Request Format of FORM containing encoded JSON).

This extension also add the option to send an email notification when a webhook to CiviCRM fails.

How do I get this up and running?

  1. (Recommended) Install and configure the AuthX extension that comes with CiviCRM. This gives many options for authentication mechanisms.
    1. Configure authentication rules and mechanisms (Administer -> Administration Console -> Authentication). The defaults are probably okay.
  2. (Recommended) Install API Key Extension
  3. (Recommended) Install the Action Provider and Form Processor extensions. These are not necessary, but they do provide quite a bit for flexibility in how data from Gravity Forms is processed compared to directly using the CiviCRM API.
  4. Create a new contact to function as the creator of any data coming in from Gravity Forms; there are a number of ways to authenticate with this contact. This contact might need an attached user account if the Gravity Forms requests will require specific permissions.
    1. Add an API Key to this contact.
    2. Not the API Key and Site Key (if using Site Key Guard in AuthX)
  5. Determine the CiviCRM API end point. There are a number of options: legacy, modern, CMS specific... In this example, we will use the modern ones.

    1. Wordpress
      1. https://civicrm.example.org/civicrm/ajax/rest
      2. https://civicrm.example.org/wp-json/civicrm/v3/rest
      3. https://civicrm.example.org/civicrm/?civiwp=CiviCRM&q=civicrm/ajax/rest
    2. Drupal
      1. https://civicrm.example.org/civicrm/ajax/rest
    3. Joomla
      1. https://civicrm.example.org/index.php?option=com_civicrm&format=raw&task=civicrm/ajax/rest
      2. (with customization) https://civicrm.example.org/civicrm/ajax/rest
        1. To use the clean version of the URL with Joomla, add these likes to the .htaccess file user the `` section
  6. Create a Gravity Form
  7. Go to the Form Settings and add a Webhook
    1. Add the CiviCRM API end point to the Request URL with entity (e.g. Contact) and action (e.g. create) as query string parameters.
    2. Choose POST for the Request Method and FORM for the Request Format.
    3. Enable the CiviCRM API Format
    4. Add Request Headers to provide authentication with CiviCRM. Out of the box, three are necessary with AuthX.
      1. Authorization: Bearer **API_KEY**
      2. X-Civi-Key: **SITE_KEY**
      3. X-Requested-With: XMLHttpRequest
    5. Under the Request Body choose to Select Fields.
      1. Any normal key field will be directly passed to CiviCRM
      2. Any key that needs pass to CiviCRM in the json (v3) or params (v4) JSON encoded form value, prepend json. or params. respectively. For example, to send CiviCRM a first name in the request, create the key json.first_name.

Other settings

Two additional helper settings are added to the form settings.


All versions of gravityforms-civicrm-form-processor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package blackbricksoftware/gravityforms-civicrm-form-processor contains the following files

Loading the files please wait ...