Documentation
Everything you need to install the Xentyz Loader and automate encoding with the Xentyz Cloud API.
1. Installing the Xentyz Loader
Xentyz Loader is a standard PHP extension loaded with extension= in your php.ini. Download the package matching your server OS and architecture from /downloads or run our automated Loader Wizard.
curl -fsSL https://xentyz.xyz/downloads/loaders/xentyz_loaders_lin_x86-64.tar.gz | tar -xz sudo mkdir -p /usr/local/xentyz sudo cp xentyz/xentyz_loader_lin_8.6.so /usr/local/xentyz/ echo "extension=/usr/local/xentyz/xentyz_loader_lin_8.6.so" | sudo tee /etc/php/8.6/fpm/conf.d/99-xentyz.ini sudo systemctl restart php8.6-fpm
2. Domain & Expiration Locking
On Pro and Business plans, you can bind encoded files to specific hostnames and expiration dates directly in the Online Encoder Studio or via API:
- Exact domains: app.example.com matches only that hostname.
- Wildcard domains: *.example.com matches any subdomain as well as the apex domain.
- Expiration: Set any UTC date/time. After expiration, the loader refuses to execute the file.
3. CI/CD Automation API (Pro & Business)
Generate an API key in your Dashboard and call POST https://xentyz.xyz/api/encode directly from GitHub Actions or build scripts:
curl -X POST https://xentyz.xyz/api/encode \
-H "Authorization: Bearer xz_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"php_version":"8.6","mode":"code","content_b64":"...","domains":["*.client.com"]}'