Download the PHP package siro/php-klaviyo-api without Composer

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

php-klaviyo-api

Build Status paypal

Klaviyo API wrapper for PHP. It allows to consume the Klaviyo v1 API using a clear and simple PHP class format for make the usage user-friendly. Stuff like delete a list is as logic as doing: $klaviyo->list->delete('asdD2e2'). Easy, isn't it?

Installation

Installing php-klaviyo-api is simple. You just need Composer installed and added to the path. For install the current last version run:

composer require siro/php-klaviyo-api:"^1.6.0"

Usage

API organization and usage

The php-klaviyo-api is organized as the official Klaviyo API, really. If you want to access to event API you must do as follow:

A real example would be as i show here:

As you can see it is really easy. The code is good organized, with the same documentation that the official one. You just need to read a bit and you will see that it is simple and intuitive.

Klaviyo Event API

This API is used to track events to Klaviyo. This is the main feature and you maybe would use it. By that reason i implemented this API wrapper in this way. For load it

Contributing

This project uses PSR-4 coding standard. If you want to make a contribution it must be important run make sniff for checking your code before commit the changes. At this moment it is prioritary making tests for the API so Pull requests for tests and fixes are welcome.

Credits

All credits, at this moment, are for Siro Díaz Palazón [email protected].

Contributors

At this moment main contributors are:

License

This project is licensed under MIT.


All versions of php-klaviyo-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1 || ^8.0
ext-json Version *
guzzlehttp/guzzle Version ^6.3 || ^7.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 siro/php-klaviyo-api contains the following files

Loading the files please wait ....