PHPackages                             cloakings/cloakings-magicchecker - 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-magicchecker

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

cloakings/cloakings-magicchecker
================================

Cloakings MagicChecker Client

1.2.0(3mo ago)03.5k↑19.4%1MITPHPPHP ^8.4

Since Dec 13Pushed 3mo ago1 watchersCompare

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

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

Cloakings MagicChecker
======================

[](#cloakings-magicchecker)

Detect if user is bot or real user using magicchecker.com

Install
-------

[](#install)

```
composer require cloakings/cloakings-magicchecker
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

Register at :

- Create campaign
    - set "Safe Page" containing "fake" or "safe" like  (IMPORTANT!)
    - set "Promo Page" containing "real" or "money" like  (IMPORTANT!)
- Download file (index.php)
- Get params from the file: CAMPAIGN\_ID

```
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
$cloaker = \Cloakings\CloakingsMagicChecker\MagicCheckerCloaker(
    campaignId: $campaignId
);
$cloakerResult = $cloaker->handle($request);
```

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

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

[](#original-logic)

Original library is located at `doc/original`.

License for this repository doesn't cover that code.

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance82

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

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

Recently: every ~312 days

Total

13

Last Release

91d ago

PHP version history (3 changes)1.0.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 (13 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

24.3k69.5k](/packages/grumpydictator-firefly-iii)[kimai/kimai

Kimai - Time Tracking

4.8k9.4k1](/packages/kimai-kimai)[sulu/sulu

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

1.3k1.4M236](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M674](/packages/shopware-core)[symfony/ai-agent

PHP library for building agentic applications.

32999.7k135](/packages/symfony-ai-agent)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)

PHPackages © 2026

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