PHPackages                             lukapeharda/improvely - 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. [API Development](/categories/api)
4. /
5. lukapeharda/improvely

ActiveLibrary[API Development](/categories/api)

lukapeharda/improvely
=====================

Improvely API PHP SDK

v1.0.0(6y ago)0910MITPHP

Since Dec 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lukapeharda/improvely)[ Packagist](https://packagist.org/packages/lukapeharda/improvely)[ RSS](/packages/lukapeharda-improvely/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

Improvely API PHP SDK
=====================

[](#improvely-api-php-sdk)

Server-side HTTP API that you can use to perform account management tasks and to add conversion events that do not occur on your website, but can still be linked to a specific website visitor, such as recurring bills.

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

[](#installation)

`composer require lukapeharda/improvely`

Requirements
------------

[](#requirements)

Make sure to find your [Improvely API key](https://www.improvely.com/docs/api-introduction) and project ID.

Usage
-----

[](#usage)

### Conversions

[](#conversions)

Docs for conversions can be found [here](https://www.improvely.com/docs/api-post-conversion). Make sure to check required params, its combos and all other attributes.

`key` and `project` attributes will be auto inserted, all others can be set freely.

In order to be able to record a conversion, you need to [label your visitor](https://www.improvely.com/docs/labeling-visitors) beforehand.

Recording a conversion:

```
...
$apiKey = '#YOUR_API_KEY#';
$projectID = '#YOUR_PROJECT_ID#';

$client = new LukaPeharda\Improvely\Conversion($apiKey, $projectId);

$params = [
    'label' => '#LABELED_VISITOR_ID_OR_EMAIL_OR_USERNAME#', // this value depends on what you've used to label your user with
    'goal' => 'purchase',
    'revenue' => 19.99,
];

$response = $client->record($params);
...
```

### Other API endpoints

[](#other-api-endpoints)

So far only conversions have been implemented. For other actions do submit an issue or do a pull request. Thank you.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2350d ago

### Community

Maintainers

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

---

Top Contributors

[![lukapeharda](https://avatars.githubusercontent.com/u/2076692?v=4)](https://github.com/lukapeharda "lukapeharda (2 commits)")

### Embed Badge

![Health badge](/badges/lukapeharda-improvely/health.svg)

```
[![Health](https://phpackages.com/badges/lukapeharda-improvely/health.svg)](https://phpackages.com/packages/lukapeharda-improvely)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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