Download the PHP package cloakings/cloakings-palladium without Composer
On this page you can find all versions of the php package cloakings/cloakings-palladium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cloakings/cloakings-palladium
More information about cloakings/cloakings-palladium
Files in cloakings/cloakings-palladium
Package cloakings-palladium
Short Description Cloakings Palladium Client
License MIT
Informations about the package cloakings-palladium
Cloakings Palladium
Detect if user is bot or real user using palladium.expert
Install
Usage
Basic Usage
Register at https://palladium.expert. 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
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
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 library is located at doc/original
:
php
- plain PHP integrationwordpress
- WordPress integration
License for this repository doesn't cover that code.
All versions of cloakings-palladium with dependencies
ext-curl Version *
cloakings/cloakings-common Version ^1.1
gupalo/json Version ^1.0
psr/log Version ^3.0
symfony/http-client Version ^7.1