Download the PHP package finteza/finteza-php-sdk without Composer

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

Finteza PHP SDK

The official sdk for sending events to Finteza servers and proxying analytical requests via the website.

Requirement

Installation

Use the Сomposer package manager to install SDK easily.

Run the following command from the console:

Usage

Sending events

Use the FintezaAnalytics::event(); method to send events to Finteza

Inputs:

Parameter Type Description
name * string Event name. The maximum length is 128 symbols.
websiteId * string Website ID. It can be obtained in the website settings (ID field) of the Finteza panel.
url string Optional. Finteza server address.
referer string Optional. Host of a website SDK is called on.
value number Optional. Additional parameter value.
unit string Optional. Additional parameter measurement units, for example, USD, items, etc. The maximum length is 32 symbols.

Example:

See Finteza help for more details on sending events.

Proxying analytical scripts

Use the FintezaAnalytics::proxy(); method to proxy all analytical requests in Finteza

Inputs:

Parameter Type Description
path * string Start of the path for requests to be proxied.
token * string Token for signing the X-Forwarder-For header. You can get this value in the website settings (ID field) of the Finteza panel.
url string Optional. Finteza server address.

Example:

We recommend calling this method at each website request. SDK sorts out analytical requests on its own and proxies them to the Finteza servers.

Also, Finteza counter code installed on the website should be changed for correct operation.

See Finteza help for more details on configuring proxying.

License

Released under the BSD License.


All versions of finteza-php-sdk with dependencies

PHP Build Version
Package Version
No informations.
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 finteza/finteza-php-sdk contains the following files

Loading the files please wait ....