PHPackages                             webmarketer/webmarketer-plugin-core-php - 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. webmarketer/webmarketer-plugin-core-php

ActiveLibrary

webmarketer/webmarketer-plugin-core-php
=======================================

2.3.0(6mo ago)075MITPHPPHP ^8.0

Since Nov 8Pushed 6mo agoCompare

[ Source](https://github.com/webmarketer-saas/php-webmarketer-plugin-core)[ Packagist](https://packagist.org/packages/webmarketer/webmarketer-plugin-core-php)[ RSS](/packages/webmarketer-webmarketer-plugin-core-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/89253090?s=200&v=4) ](https://webmarketer.io)

PHP Core plugin for Webmarketer tiers integrations
==================================================

[](#php-core-plugin-for-webmarketer-tiers-integrations)

[![Latest Stable Version](https://camo.githubusercontent.com/c5521c962ef03dee193bb1bf0f61f39d8a2d90d00828264ec8e7fe8ba6a5e77e/687474703a2f2f706f7365722e707567782e6f72672f7765626d61726b657465722f7765626d61726b657465722d7068702d636f72652d706c7567696e2f76)](https://packagist.org/packages/webmarketer/webmarketer-php-core-plugin)[![Total Downloads](https://camo.githubusercontent.com/054ef1d4b85f5607170b8e81eec9d3c7b77011b6df357a01a7647a82c164fd4b/687474703a2f2f706f7365722e707567782e6f72672f7765626d61726b657465722f7765626d61726b657465722d7068702d636f72652d706c7567696e2f646f776e6c6f616473)](https://packagist.org/packages/webmarketer/webmarketer-php-core-plugin)[![Latest Unstable Version](https://camo.githubusercontent.com/d5e55e30be8bc238dee0bf4a40f7f6797c6136438926818d484c4c1fbf714bba/687474703a2f2f706f7365722e707567782e6f72672f7765626d61726b657465722f7765626d61726b657465722d7068702d636f72652d706c7567696e2f762f756e737461626c65)](https://packagist.org/packages/webmarketer/webmarketer-php-core-plugin)[![PHP Version Require](https://camo.githubusercontent.com/e119cb62216e7aaa6de4ed491f87a3e25b999a0c758430842461d84609d9407c/687474703a2f2f706f7365722e707567782e6f72672f7765626d61726b657465722f7765626d61726b657465722d7068702d636f72652d706c7567696e2f726571756972652f706870)](https://packagist.org/packages/webmarketer/webmarketer-php-core-plugin)[![License](https://camo.githubusercontent.com/fd7f5ffb07b1a5d450846f8e48a96b681ba64315350420687be55725cc1702ef/687474703a2f2f706f7365722e707567782e6f72672f7765626d61726b657465722f7765626d61726b657465722d7068702d636f72652d706c7567696e2f6c6963656e7365)](https://packagist.org/packages/webmarketer/webmarketer-php-core-plugin)

The official PHP Core bundle for Webmarketer plugins.

Install
-------

[](#install)

To add this package, your project must meet several requirements :

- PHP &gt;= 8.1
- Composer ([install composer](https://getcomposer.org))

This package is the core used by all Webmarketer tiers integrations and plugins (WordPress, Prestashop). It provides interfaces and utilities for any plugin.
It is not designed to work as a standalone and must be used along a plugin implementation.

This package wrap the [PHP SDK for Webmarketer](https://github.com/webmarketer-saas/php-webmarketer-sdk). Thereby, check that your project meet the SDK requirements too.

```
composer require webmarketer/webmarketer-php-core-plugin
```

Usage
-----

[](#usage)

```
try {
    // create an instance of the SDK with the desired configuration
    $client = new \Webmarketer\WebmarketerSdk([
        'credential' => '{ ...jsonSa }',
        'scopes' => 'test',
        'default_project_id' => 'webmarketer-awesome-project'
    ]);
} catch (\Webmarketer\Exception\DependencyException $dep_ex) {
    // SDK init throw a dependency exception if requirements are not meet (see Install)
} catch (\Webmarketer\Exception\CredentialException $cred_ex) {
    // SDK automatically try to authenticate you agains API
    // A credential exception could be throw if credentials are invalid
}

// SDK exposes resources services, use them to manipulate your resources
$event_type_service = $client->getEventTypeService();
$field_service = $client->getFieldService();
```

### Integrations based on this package

[](#integrations-based-on-this-package)

- [WordPress Plugin](https://github.com/webmarketer-saas/wp-webmarketer)

Contributing
------------

[](#contributing)

All SDK dependencies are managed via Composer :

```
composer install
```

Run all tests with PHPUnit and the configuration provided :

```
composer tests
```

Run all tests and check codecoverage (must be &gt;= 80%) with PHPUnit :

```
composer tests-coverage
```

Lint code :

```
composer phpcs
```

---

Feel free to report issues and bugs directly on this repository.

Resources
---------

[](#resources)

- [PHP SDK for Webmarketer](https://github.com/webmarketer-saas/php-webmarketer-sdk)
- [App](https://app.webmarketer.io)
- [Official documentation](https://doc.webmarketer.io)
- [Official site](https://webmarketer.io)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance67

Regular maintenance activity

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 73.3% 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 ~145 days

Recently: every ~163 days

Total

11

Last Release

193d ago

Major Versions

0.2.0 → 1.0.02021-12-13

1.3.0 → 2.0.02024-02-06

PHP version history (2 changes)0.1.0.x-devPHP ^5.5 || ^7.0 || ^8.0

2.3.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/736e87546d80a72fb9331f92595e613d695295da480d8ff0646eaa41e07d5248?d=identicon)[clement-clx](/maintainers/clement-clx)

---

Top Contributors

[![clement-clx](https://avatars.githubusercontent.com/u/89252931?v=4)](https://github.com/clement-clx "clement-clx (11 commits)")[![Melvin-YABAWT](https://avatars.githubusercontent.com/u/89252914?v=4)](https://github.com/Melvin-YABAWT "Melvin-YABAWT (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webmarketer-webmarketer-plugin-core-php/health.svg)

```
[![Health](https://phpackages.com/badges/webmarketer-webmarketer-plugin-core-php/health.svg)](https://phpackages.com/packages/webmarketer-webmarketer-plugin-core-php)
```

###  Alternatives

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k9.6M55](/packages/bref-bref)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k346.9k48](/packages/aimeos-aimeos-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30317.2M40](/packages/simplesamlphp-saml2)

PHPackages © 2026

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