PHPackages                             cloakings/cloakings-cloakit - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cloakings/cloakings-cloakit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cloakings/cloakings-cloakit
===========================

Cloakings CloakIT Client

1.2.0(1mo ago)131MITPHPPHP ^8.4

Since Oct 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/cloakings/cloakings-cloakit)[ Packagist](https://packagist.org/packages/cloakings/cloakings-cloakit)[ RSS](/packages/cloakings-cloakings-cloakit/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (9)Versions (7)Used By (0)

Cloakings CloakIT
=================

[](#cloakings-cloakit)

Detect if user is bot or real user using cloakit.pro

Install
-------

[](#install)

```
composer require cloakings/cloakings-cloakit
```

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\CloakingsCloakIt\CloakItCloaker(
    companyId: $companyId,
);
$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 CloakIT library

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

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

[](#original-logic)

Original library is located at `doc/original`.

License for this repository doesn't cover that code.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity69

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 ~265 days

Recently: every ~331 days

Total

6

Last Release

45d ago

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

1.1.0PHP &gt;=8.3

1.2.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 (8 commits)")

---

Tags

cloakingcloakitphpphp-librarytraffictraffic-analysis

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M690](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k52](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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