Skip to content

PHP package to access remote CiviCRM installs. That's a cleaned-up and much nicer version of the one shipped with CiviCRM by default (class civicrm_api3)

Notifications You must be signed in to change notification settings

donquixote/CiviRemotePHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CiviCRM API3 Wrapper: Local/Remote

This is a rewrite / clean-up of the civicrm_api3 class shipped with CiviCRM. Might be included in the core one day.

Usage: Remote

Use case: You have one server A with CiviCRM, and a server B with some random PHP (but no civi). You want to access CiviCRM data from B.

Solution:

  • Download this package into your custom PHP project.
  • Usage as in example.php

Usage: Local

Use case: You have a regular CiviCRM install. You are not happy with class civicrm_api3.

Solution:

  • Download this package somewhere into your project.
  • Set up autoload: Either include the autoload.php, as suggested in example.php Or use e.g. http://drupal.org/project/xautoload and register the namespace.
  • Create a CiviCRM\API3\LocalAPI(..)
  • Usage same as the RemoteAPI, see example.php

About

PHP package to access remote CiviCRM installs. That's a cleaned-up and much nicer version of the one shipped with CiviCRM by default (class civicrm_api3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages