PHPackages                             crakter/izettle-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. crakter/izettle-api

ActiveLibrary

crakter/izettle-api
===================

Izettle API PHP Client

1.0(5y ago)023MITPHPPHP &gt;=7.3

Since Nov 17Pushed 2y agoCompare

[ Source](https://github.com/crakter/iZettleApi)[ Packagist](https://packagist.org/packages/crakter/izettle-api)[ RSS](/packages/crakter-izettle-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (7)Versions (9)Used By (0)

iZettle Api
===========

[](#izettle-api)

The iZettle Api provides a simple integration of the [iZettle Api](https://github.com/iZettle/api-documentation) for your PHP project.

[![Build Status](https://camo.githubusercontent.com/7526b91a30a930ca7b5f4769f8e9cb3cf93148e161b8a235cd136b2faae1f9aa/68747470733a2f2f7472617669732d63692e6f72672f4c61754c616d616e417070732f695a6574746c654170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/LauLamanApps/iZettleApi)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9042e07a7b6d262fab0991aa142b2c3c6027bf995c89cf4d77a8c6c788fcdc93/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61754c616d616e417070732f695a6574746c654170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LauLamanApps/iZettleApi/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ddb30f23f3d1d3021410ec9f100c5244f69559723f3250411c21f03b0472127f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c61754c616d616e417070732f695a6574746c654170692f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LauLamanApps/iZettleApi/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/c5e4f6ce7e84ed0357331963503ceecc3ea0ea74b9d7d346a94fd518816baec4/68747470733a2f2f706f7365722e707567782e6f72672f6c61756c616d616e617070732f497a6574746c652d6170692f762f737461626c65)](https://packagist.org/packages/laulamanapps/izettle-api)[![License](https://camo.githubusercontent.com/e2ebbe14554a5d4b7ecee110a511baa48ad262d5bb9e2ebe6b443985df126c47/68747470733a2f2f706f7365722e707567782e6f72672f6c61756c616d616e617070732f497a6574746c652d6170692f6c6963656e7365)](https://packagist.org/packages/laulamanapps/izettle-api)

Installation
------------

[](#installation)

With [composer](http://packagist.org), add:

```
$ composer require laulamanapps/izettle-api
```

Run Tests
---------

[](#run-tests)

To make sure everyting works you can run tests:

```
$ make unit-tests
$ make integration-tests
```

Usage
-----

[](#usage)

Get yourself an access token. you'll need an `clientId` and `clientSecret` for this (to get one apply [here](https://www.izettle.com/api-access/)) for performance benefits, it might be wise to store the access token in a cache like [Redis](https://redis.io/).

```
use GuzzleHttp\Client;
use LauLamanApps\IzettleApi\GuzzleIzettleClient;
use LauLamanApps\IzettleApi\IzettleClientFactory;

$izettleClient = new GuzzleIzettleClient(new Client(), 'clientId', 'clientSecret');
$accessToken = $izettleClient->getAccessTokenFromUserLogin('john.doe@example.com', 'password');

//-- store $accessToken in cache

$productClient = IzettleClientFactory::getProductClient($iZettleClient);
$library = $productClient->getLibrary();
```

### Make call with existing AccessToken

[](#make-call-with-existing-accesstoken)

```
use GuzzleHttp\Client;
use LauLamanApps\IzettleApi\GuzzleIzettleClient;
use LauLamanApps\IzettleApi\IzettleClientFactory;

$accessToken = ...; //-- Get from cache

$izettleClient = new GuzzleIzettleClient(new Client(), 'clientId', 'clientSecret');
$izettleClient->setAccessToken($accessToken);

$purchaseClient = IzettleClientFactory::getPurchaseClient($iZettleClient);
$library = $purchaseClient->getPurchaseHistory();
```

Credits
-------

[](#credits)

iZettle Api has been developed by [LauLaman](https://github.com/LauLaman).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 61.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~273 days

Total

5

Last Release

2010d ago

Major Versions

v0.9.3 → 1.02020-11-15

PHP version history (2 changes)v0.9PHP &gt;=7.1

1.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a004ad5fa937816bb6e6c484d64d4cc7219e68fd62e37525032522138481ddcc?d=identicon)[crakter](/maintainers/crakter)

---

Top Contributors

[![LauLaman](https://avatars.githubusercontent.com/u/8283992?v=4)](https://github.com/LauLaman "LauLaman (27 commits)")[![crakter](https://avatars.githubusercontent.com/u/24833502?v=4)](https://github.com/crakter "crakter (11 commits)")[![pazion](https://avatars.githubusercontent.com/u/687111?v=4)](https://github.com/pazion "pazion (5 commits)")[![rikvdh](https://avatars.githubusercontent.com/u/1267617?v=4)](https://github.com/rikvdh "rikvdh (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/crakter-izettle-api/health.svg)

```
[![Health](https://phpackages.com/badges/crakter-izettle-api/health.svg)](https://phpackages.com/packages/crakter-izettle-api)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
