PHPackages                             cloakings/cloakings-palladium - 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. cloakings/cloakings-palladium

ActiveLibrary[API Development](/categories/api)

cloakings/cloakings-palladium
=============================

Cloakings Palladium Client

1.3.0(1mo ago)33.5kMITPHPPHP ^8.4

Since Oct 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/cloakings/cloakings-palladium)[ Packagist](https://packagist.org/packages/cloakings/cloakings-palladium)[ RSS](/packages/cloakings-cloakings-palladium/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (11)Versions (19)Used By (0)

Cloakings Palladium
===================

[](#cloakings-palladium)

Detect if user is bot or real user using palladium.expert

Install
-------

[](#install)

```
composer require cloakings/cloakings-palladium
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

Register at . Create campaign:

- Link to the target page: `real.php`
- Link for bots: `fake.php`

Click "download code" for plain PHP or Wordpress and look for:

- clientId
- clientCompany
- clientSecret

```
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
$cloaker = \Cloakings\CloakingsPalladium\PalladiumCloaker(
    clientId: $clientId,
    clientCompany: $clientCompany,
    clientSecret: $clientSecret,
);
$cloakerResult = $cloaker->handle($request);
```

Check if result mode is `CloakModeEnum::Fake` or `CloakModeEnum::Real` and do something with it.

If you want to render result like the original Palladium library

```
$baseIncludeDir = __DIR__; // change to your dir with real.php and fake.php
$renderer = \Cloakings\CloakingsPalladium\PalladiumRenderer();
$response = $renderer->render($cloakerResult);
```

If your filenames differ from `real.php` and `fake.php` change params `$fakeTargetContains` and `$realTargetContains`in `PalladiumCloaker` constructor.

Default traffic source is `PalladiumTrafficSourceEnum::Adwords` but you can change it to `Facebook` or `Tiktok`.

Original Logic
--------------

[](#original-logic)

Original library is located at `doc/original`:

- `php` - plain PHP integration
- `wordpress` - WordPress integration

License for this repository doesn't cover that code.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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

Every ~78 days

Recently: every ~315 days

Total

18

Last Release

39d ago

PHP version history (3 changes)1.0PHP &gt;=8.1

1.2.0PHP &gt;=8.3

1.3.0PHP ^8.4

### Community

Maintainers

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

---

Top Contributors

[![luchaninov](https://avatars.githubusercontent.com/u/3829796?v=4)](https://github.com/luchaninov "luchaninov (20 commits)")

---

Tags

cloakingpalladiumphpphp-librarytraffictraffic-analysis

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/cloakings-cloakings-palladium/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[temporal/sdk

Temporal SDK

4102.7M22](/packages/temporal-sdk)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

51390.8k2](/packages/web-auth-webauthn-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M519](/packages/shopware-core)[storyblok/php-content-api-client

PHP Client for Storyblok Content API

11159.7k7](/packages/storyblok-php-content-api-client)

PHPackages © 2026

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