Already in your installation
The PHP floor packages of Exponential require it: exponential-php-floor 1.1.14 (PHP 8.0), 1.2.14 (PHP 8.1 to 8.3) and 1.3.15 (PHP 8.4 and later) bring se7enxweb/exp_code and se7enxweb/exponential-editor-assets with them. On another setup, require it yourself:
composer require se7enxweb/exp_code
Switch it on
- Activate both extensions: ActiveExtensions[]=exponential_editor_assets and ActiveExtensions[]=exp_code.
- Regenerate the autoloads: php bin/php/ezpgenerateautoloads.php -e.
- Create the drafts table: ./console exp:upgrade (a dry run), then ./console exp:upgrade --apply. It works on every database engine Exponential supports.
- Optional: the Designer role with ./console exp:addcodepolicies, then --apply, and assign it to your designers' user group.
- Clear the caches and check with ./console exp:code:status.
Optional parts
- PHP intelligence: ./console exp:code:install phpactor --apply (Phpactor, MIT, pinned and checksummed).
- code-server: ./console exp:code:install code-server --apply, then ./console exp:code:server as the site's user, behind its single sign-on proxy.
- Co-editing and the terminal: the WebSocket server ./console exp:code:ws as the site's user behind your web server. The terminal stays off until you switch it on.
- The AI panel: [AiSettings] Ai=enabled in code.ini, with Exponential Intelligence active.
The full procedure: the manual (German: Handbuch). Running on 7x hosting? We switch it on and set it up for you.