contena / frontend
Generic HTML frontend for the Contena platform
dev-trunk
2026-08-23 08:57 UTC
Requires
- php: >=8.5
- contena/core: *
- scssphp/scssphp: v1.12.0
- symfony/asset: ~7.4.0
- symfony/config: ~7.4.0
- symfony/console: ~7.4.0
- symfony/dependency-injection: ~7.4.0
- symfony/event-dispatcher: ~7.4.0
- symfony/filesystem: ~7.4.0
- symfony/finder: ~7.4.0
- symfony/framework-bundle: ~7.4.0
- symfony/http-foundation: ~7.4.0
- symfony/http-kernel: ~7.4.12
- symfony/routing: ~7.4.12
- symfony/serializer: ~7.4.0
- symfony/service-contracts: ~3.6.0
- symfony/twig-bundle: ~7.4.0
- symfony/ux-twig-component: ~2.35.0
- twig/twig: ^3.26.0
This package is auto-updated.
Last update: 2026-08-23 09:03:25 UTC
README
The Frontend component is the built-in HTML frontend for Contena Core, written in PHP, Twig, JavaScript, and SCSS.
Getting started
Run the JavaScript installation and build commands from the Contena project root through Composer:
composer build:js:frontendbuilds the Frontend application, Twig components, assets, and Channel themescomposer frontend:dev-serverstarts the Vite development server for Twig components and theme stylescomposer init:jsinstalls the Administration and Frontend dependenciescomposer eslint:frontendchecks the Frontend JavaScript and TypeScript filescomposer frontend:unitruns the Frontend Jest suitecomposer frontend:components:unitruns the Twig component Vitest suitecomposer stylelint:frontendchecks the Frontend SCSS files
For example:
composer build:js:frontend
Use composer frontend:dev-server while developing Twig components so source modules and theme styles are served directly by Vite.