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(1mo ago)03.4k↑26.5%1MITPHPPHP ^8.4

Since Dec 13Pushed 1mo 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 today

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

52

—

FairBetter than 96% of packages

Maintenance90

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

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

46d 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.

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

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[symfony/asset-mapper

Maps directories of assets &amp; makes them available in a public directory with versioned filenames.

1678.8M238](/packages/symfony-asset-mapper)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)[ecotone/ecotone

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

564576.7k53](/packages/ecotone-ecotone)

PHPackages © 2026

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