Please see the instructions for user installation here.
EC-CUBE 4.2 / 4.3 / 4.4 (plugin code elepay42), all from one codebase. The lowest runtime is PHP 7.4 (EC-CUBE 4.2), so code must stay valid on it.
Resource/vendor/ (gitignored) holds elepay-php-sdk and its dependencies. Generate it with:
./build-vendor.shIt resolves the dependencies against PHP 7.4 regardless of the local PHP, appends the bundled autoloader after the host's, and patches the SDK's implicit nullable parameters. It falls back to Docker when composer is not installed.
- Routes and Doctrine mappings (including
@EntityExtension) are declared twice: as docblock annotations (EC-CUBE 4.2/4.3) and as PHP attributes (EC-CUBE 4.4). Keep the two identical, and write every attribute on a single line, since PHP 7.4 treats a single-line#[...]as a comment. - Use only PHP 7.4 syntax: no union types, no named arguments (e.g. validator constraints take positional arguments).
- docs/architecture.md: payment flow, order status handling, concurrency, ownership rule, plugin lifecycle
- docs/compatibility.md: EC-CUBE 4.2 / 4.3 / 4.4 compatibility rules
- docs/eccube-store.md: 「戻り先URL」 for the EC-CUBE store (オーナーズストア)
Controller\Route ControllerEntity\Database table definition classes, where files ending in 'traits' are used to extend database tablesForm\Type\Admin\ConfigType.phpPlugin setup page for form buildingRepository\Operation extension classes for database tablesResource\Static configuration files, resource files, and template filesService\Tool classService\Method\Code that executes globally by defaultcomposer.jsonPackage managementEvent.phpUse the template render event to do the corresponding processingPluginManager.phpMain