Download the PHP package bklein01/suitecrmclient without Composer

On this page you can find all versions of the php package bklein01/suitecrmclient. 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 suitecrmclient

Client library for use with SuiteCRM

A free (LGPL3) client library for use with SuiteCRM to abstract various API usage to enable easier integrations. SuiteCRM

Provided by PortoSpire PortoSpire - be seen

Introduction Setup Usage

Introduction

This package provides a SuiteCRM client to abstract API calls and form submissions to provide and receive data from SuiteCRM instances. It makes use of Person Form campaigns and both the V8 and rest APIs as needed.

Setup

Add to your project's composer.json

composer require portospire/suitecrmclient

Usage

This package is built to support Laminas Mezzio and Laminas MVC as well as be available as a stand alone library.

An example to get a list of Web campaigns from a SuiteCRM instance:

$SuiteCRMClient->setServerDomain($server_domain); $SuiteCRMClient->setClientId($client_id); $SuiteCRMClient->setClientSecret($client_secret); $filter = new \PortoSpire\SuiteCRMClient\Model\Filter(['campaign_type' => 'Web']); $json = $SuiteCRMClient->getCampaigns([], ['size' => 20, 'number' => 1], 'name', $filter); // this will contain json of the results $campaignsFull = $SuiteCRMClient->convertJsonToGenerics($json); // this converts the json to PHP objects

An example to submit a lead into a web-to-lead form in a SuiteCRM instance: (You can extend the provided models (Model/WebToLead, etc) if you have custom fields)

$values = (array) $WebToLead; // expects an array of key=>value pairs where the keys match the different fields from the web-to-lead form $SuiteCRMClient->setServerDomain($server_domain); $SuiteCRMClient->setClientId($client_id); $SuiteCRMClient->setClientSecret($client_secret); $SuiteCRMClient->submitWebToLead($values, $campaign_id); // this must match the campaign id that the web-to-lead form is associated to in SuiteCRM

Mezzio

Add the ConfigProvider class to the config aggregator (typically found in config/config.php)

$aggregator = new ConfigAggregator([ ... \PortoSpire\SuiteCRMClient\ConfigProvider::class, ... Then use the client in your handlers/middleware as needed for your use cases.

Laminas MVC

There should be no additional steps beyond adding to your project's composer.json required to begin using the library with Laminas MVC.

Standalone

There should be no additional steps beyond adding to your project's composer.json required to begin using the library.


All versions of suitecrmclient with dependencies

PHP Build Version
Package Version
Requires php Version 8.1.*
guzzlehttp/guzzle Version ^6.3
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 bklein01/suitecrmclient contains the following files

Loading the files please wait ....