定制 marellocommerce/marello-application 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marellocommerce/marello-application

Composer 安装命令:

composer require marellocommerce/marello-application

包简介

Marello Unified Commerce Management Community Edition

README 文档

README

Marello Unified Commerce Management provides capabilities to meet and exceed rising expectations in commerce. Add and manage any sales channel, gain real-time insight into your B2C and B2B orders, inventory, fulfillment, customers and more. A unique unified experience allows shoppers to buy anywhere, fulfill anywhere, and return anywhere with one piece of software, one single version of the truth.

This document contains information on how to download, install, and start using Marello.

Requirements

Marello is a Symfony 6.4 based application with the following requirements:

  • PHP 8.3 or above with command line interface
  • PHP Extensions
    • ctype
    • curl
    • fileinfo
    • gd
    • intl (ICU library 4.4 and above)
    • json
    • mbstring
    • sodium
    • openssl
    • pcre
    • simplexml
    • tokenizer
    • xml
    • zip
    • imap
    • soap
    • bcmath
    • ldap
    • pgsql
  • PostgreSQL 16.1

Installation instructions

As both Symfony and Marello use Composer to manage their dependencies, this is the recommended way to install Marello.

  • Clone Marello application repository:
git clone -b x.y.z https://github.com/marellocommerce/marello-application.git

where x.y.z is the latest release tag or use the latest master:

    git clone https://github.com/marellocommerce/marello-application.git
  • Install Composer globally following the official Composer installation documentation

  • Make sure that you have Node.js >=20.10.0, <21 installed and NPM >10

  • Install Marello dependencies with composer. If installation process seems too slow you can use --prefer-dist option. Go to marello-application folder and run composer installation:

composer install --prefer-dist --no-dev
  • Create the database with the name specified on previous step (default name is "marello_application").

  • On some systems it might be necessary to temporarily increase memory_limit setting to 1 GB in php.ini configuration file for the duration of the installation process:

memory_limit=1024M

Note: After the installation is finished the memory_limit configuration can be changed back to the recommended value (512 MB or more).

  • Install application and admin user with Installation Wizard by opening install.php in the browser or from CLI:
php bin/console oro:install --env prod

Note If the installation process times out, add the --timeout=0 argument to the oro:install command.

  • Enable WebSockets messaging
php bin/console gos:websocket:server --env prod
  • Configure crontab or scheduled tasks execution to run the command below every minute:
php bin/console oro:cron --env prod
  • Launch the message queue processing:
php bin/console oro:message-queue:consume --env=prod

Note We do recommend to use a supervisor for running the oro:message-queue:consume command. This will make sure that the command and the consumer will run all the time. This has become important for every Oro Platform based application since a lot of background tasks depend on the consumer to run. For more information about configuration and what supervisor can do for you can either be found in the Oro(CRM) docs or the site of Supervisord.

Note: bin/console is a path from project root folder. Please make sure you are using full path for crontab configuration or if you running console command from other location.

Installation notes

Installed PHP Accelerators must be compatible with Symfony and Doctrine (support DOCBLOCKs)

Note that the port used in Websocket must be open in firewall for outgoing/incoming connections

Additional performance configurations and optimizations can be found in the Oro docs

Web Server Configuration

The Marello application is based on the Symfony standard application so web server configuration recommendations are the same.

Package Manager Configuration

Github OAuth token should be configured in package manager settings

marellocommerce/marello-application 适用场景与选型建议

marellocommerce/marello-application 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 270 次下载、GitHub Stars 达 86, 最近一次更新时间为 2016 年 10 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 marellocommerce/marello-application 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 marellocommerce/marello-application 我们能提供哪些服务?
定制开发 / 二次开发

基于 marellocommerce/marello-application 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 270
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 86
  • 点击次数: 19
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 86
  • Watchers: 13
  • Forks: 34
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2016-10-31