Download the PHP package webkernelai/php-sdk without Composer

On this page you can find all versions of the php package webkernelai/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-sdk

WebKernelAI PHP SDK

Latest Version on Packagist PHP Version Total Downloads

Official PHP SDK for WebKernelAI โ€” the next-generation enterprise infrastructure for Technical SEO Intelligence, Zero-Trust Application Security, and Answer Engine Optimization (AEO / GEO).

This SDK provides real-time Web Application Firewall (WAF) filtering, cryptographic HMAC-SHA256 request verification, automated security headers injection, and real-time telemetry synchronization with first-class support for Laravel, CodeIgniter, Symfony, and Core PHP.


๐Ÿ”‘ Generating Your Cryptographic Pairing Secret & Site ID

To securely connect your PHP application to the WebKernelAI Cloud without database dependencies, you need a high-entropy WEBKERNELAI_PAIRING_SECRET and WEBKERNELAI_SITE_ID.

๐Ÿ‘‰ Generate Secure Pairing Secret Online

  1. Visit https://webkernelai.com/php-sdk.
  2. Enter your domain (e.g., example.com or yourdomain.com).
  3. Click "Generate 256-Bit Pairing Secret".
  4. The studio uses a cryptographically secure pseudorandom number generator (256-bit CSPRNG) to generate a collision-resistant wk_sec_... secret and unique wk_... site identifier.
  5. Copy your credentials into your .env or application config.

๐Ÿ”’ Enterprise Cryptographic Guarantee: WebKernelAI signatures use standard HMAC-SHA256 message authentication with timestamp freshness validation (300-second replay attack protection window) and constant-time hash_equals() comparisons to prevent timing and replay exploits.


๐Ÿš€ Key Features


๐Ÿ“ฆ Requirements


๐Ÿ“ฅ Installation

Install via Composer:

Or download and require the standalone autoloader:


โšก Quick Start

1. Core PHP / Custom Application


2. Laravel Integration (Laravel 9, 10, 11+)

The SDK includes automated service discovery for modern Laravel applications.

  1. Add your credentials to your .env file (generated from webkernelai.com/php-sdk):

  2. Register the security middleware in app/Http/Kernel.php (or bootstrap/app.php for Laravel 11):

3. CodeIgniter 3 & 4 Integration

CodeIgniter 3:

  1. In application/config/config.php:

  2. In application/config/hooks.php:

CodeIgniter 4:

Add your credentials in .env:

And register the filter in app/Config/Filters.php:


๐Ÿ”’ Cryptographic Request Signing (HMAC-SHA256)

For secure remote command execution, telemetry reporting, and webhook verification:


โš™๏ธ Configuration Reference

Key Environment Variable Default Description
site_id WEBKERNELAI_SITE_ID '' Registered Site ID from webkernelai.com/php-sdk.
pairing_secret WEBKERNELAI_PAIRING_SECRET '' 256-bit CSPRNG cryptographic secret key.
api_url WEBKERNELAI_API_URL https://api.webkernelai.com WebKernelAI API base endpoint.
enable_waf WEBKERNELAI_ENABLE_WAF true Enable real-time SQLi, XSS, and RCE filtering.
enable_headers WEBKERNELAI_ENABLE_HEADERS true Enable automated CSP, HSTS, and X-Frame headers.
timeout WEBKERNELAI_TIMEOUT 10 HTTP request timeout in seconds.
cache_dir WEBKERNELAI_CACHE_DIR System Temp Directory for caching telemetry & security policies.

๐ŸŒ WebKernelAI Cloud Ecosystem

The PHP SDK seamlessly communicates with the WebKernelAI Command Center:


๐Ÿงช Testing

Run the automated test suite:


๐Ÿค Contributing

Contributions, bug reports, and pull requests are welcome! Feel free to open an issue on the GitHub Issues page.


๐Ÿ“„ License

This SDK is open-source software licensed under the MIT License.


Built with โค๏ธ by the WebKernelAI Infrastructure Team.


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package webkernelai/php-sdk contains the following files

Loading the files please wait ...