heycart / storefront
Storefront for HeyCart
Installs: 8
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Language:JavaScript
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0
- cocur/slugify: ^4.3.0
- doctrine/dbal: ^4.2
- heycart/core: v6.7.2.1
- meyfa/php-svg: ^0.16.1
- scssphp/scssphp: v1.12.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
- twig/intl-extra: ^3.10.0
- twig/string-extra: ^3.10.0
- twig/twig: ^3.21.1
Requires (Dev)
- phpunit/phpunit: ^11.5.17
- symfony/css-selector: ~7.3.0
This package is auto-updated.
Last update: 2025-07-28 03:05:43 UTC
README
The Storefront component is a frontend for HeyCart\Core written in PHP.
This repository is considered read-only. Please send pull requests to our main HeyCart\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 heycart root folder via composer
.
You can also run the unit tests and code-style fixers via composer
scripts.
composer build:js:storefront
Builds the project for production and re-compiles the themecomposer watch:storefront
Runs the webpack development server and starts a proxy server with live reloadcomposer init:js
Installs the node.js dependenciescomposer eslint:storefront
Code-style checks for all Storefront JS/TS filescomposer ludtwig:storefront
Code-style checks for all Storefront twig files using ludtwigcomposer storefront:unit
Launches the jest unit test-suite for the Storefrontcomposer storefront:unit:watch
Launches the interactive jest unit test-suite watcher for the Storefrontcomposer stylelint:storefront
Code-style checks for all Storefront SCSS files using stylelint
For example:
$ composer build:js:storefront
It's recommended to use the composer watch:storefront
command when developing, so the files will be compiled as soon as they change.