syonware / frontend
Frontend for Syonware
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/syonware/frontend
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0
- cocur/slugify: ^4.3.0
- doctrine/dbal: ^4.3.1
- meyfa/php-svg: ^0.16.1
- scssphp/scssphp: v1.12.0
- symfony/asset: ~7.3.0
- symfony/cache: ~7.3.0
- symfony/cache-contracts: ~3.6.0
- symfony/config: ~7.3.0
- symfony/console: ~7.3.0
- symfony/dependency-injection: ~7.3.0
- symfony/event-dispatcher: ~7.3.0
- symfony/event-dispatcher-contracts: ~3.6.0
- symfony/framework-bundle: ~7.3.0
- symfony/http-foundation: ~7.3.0
- symfony/http-kernel: ~7.3.0
- symfony/messenger: ~7.3.0
- symfony/mime: ~7.3.0
- symfony/routing: ~7.3.0
- symfony/security-core: ~7.3.0
- symfony/service-contracts: ~3.6.0
- symfony/validator: ~7.3.0
- syonware/core: *
- twig/intl-extra: ^3.10.0
- twig/string-extra: ^3.10.0
- twig/twig: ^3.21.1
Requires (Dev)
- phpunit/phpunit: ^11.5.19
- symfony/css-selector: ~7.3.0
This package is auto-updated.
Last update: 2025-11-23 04:41:34 UTC
README
The Frontend component is a frontend for Syonware\Core written in PHP.
This repository is considered read-only. Please send pull requests to our main Syonware\Core repository.
Getting started
To compile the assets (scss/javascript) you have to run the webpack compiler.
This is easily done by executing the following commands in the syonware root folder via composer.
You can also run the unit tests and code-style fixers via composer scripts.
composer build:js:frontendBuilds the project for production and re-compiles the themecomposer watch:frontendRuns the webpack development server and starts a proxy server with live reloadcomposer init:jsInstalls the node.js dependenciescomposer eslint:frontendCode-style checks for all Frontend JS/TS filescomposer ludtwig:frontendCode-style checks for all Frontend twig files using ludtwigcomposer frontend:unitLaunches the jest unit test-suite for the Frontendcomposer frontend:unit:watchLaunches the interactive jest unit test-suite watcher for the Frontendcomposer stylelint:frontendCode-style checks for all Frontend SCSS files using stylelint
For example:
$ composer build:js:frontend
It's recommended to use the composer watch:frontend command when developing, so the files will be compiled as soon as they change.