CLI tool to decode IonCube-encoded PHP files using the decodephp.io service.
- IonCube: 14, 15
- PHP: 8.1, 8.2, 8.3, 8.4
If you've been looking for a decoder that handles IonCube 14/15 or PHP 8.1+, this is it. Most public decoders out there stopped at IonCube 13 and PHP 7.4.
# from source
git clone https://github.com/youruser/ioncube-decode
cd ioncube-decode
make build
# or download a binary from releasesGet your API key from decodephp.io (it's your 16-digit account number).
# single file
./ioncube-decode -k YOUR_API_KEY encoded.php
# entire directory (recursive)
./ioncube-decode -k YOUR_API_KEY ./src
# overwrite originals instead of creating *_decoded.php files
./ioncube-decode -k YOUR_API_KEY -o ./src
# or use env var
export IONCUBE_API_KEY=YOUR_API_KEY
./ioncube-decode ./srcThe tool automatically detects which files are actually IonCube encoded and skips the rest.
| Flag | Description | Default |
|---|---|---|
-k |
API key (or set IONCUBE_API_KEY) |
- |
-o |
Overwrite original files | false |
-w |
Concurrent workers | 4 |
-u |
API base URL | https://console.decodephp.io |
make build # current platform
make linux # linux amd64
make windows # windows amd64
make mac # darwin amd64
make all # all platformsMIT