Certains contenus des guides sont encore disponibles en anglais.
Environment check
Webkernel needs PHP 8.5+, cURL and OPcache. Status of the runtime serving this page:
PHP 8.5.12
Supported (8.5+ required)
cURL extension
Available
OPcache
Enabled
Composer dependencies
Installed
Installation
-
### Create the project Composer installs the kernel, first-party packages and PSR contracts.
composer create-project webkernel/webkernel -
### Install dependencies From the
webkernel/application directory. The launcher keeps Composer's temporary files inruntime/tmp/../composer install -
### Start the local server Wraps PHP's built-in server with the Webkernel router. Not for production; use Nginx, Apache or FPM there.
./platform serverOptions:
--host,--port(auto-increments),--profile-lifecycle,--with-jit. -
### Verify OPcache Mandatory. Without it the kernel budget is not reachable.
php -r "echo opcache_get_status()['opcache_enabled'] ? 'OPcache Active' : 'OPcache Disabled';"
