winter/wn-mall-plugin
Composer 安装命令:
composer require winter/wn-mall-plugin
包简介
E-commerce solution for Winter CMS
关键字:
README 文档
README
E-commerce solution for Winter CMS
wn-mall-plugin is a fully featured online shop solution for Winter CMS.
- Manage Products and Variants
- Virtual products (download only, no shipping)
- Product services (e. g. extended warranty, on-site installation)
- Stock management
- Wishlists
- Reviews and ratings
- Checkout via Stripe, PayPal and PostFinance supported out-of-the-box
- Custom payment providers
- Integrated with Winter.User
- Multi-currency and multi-language (integrates with Winter.Translate)
- Shipping and Tax management
- Specific prices for different customer groups
- Unlimited additional price fields (reseller, retail, reduced, etc)
- Custom order states
- Flexible e-mail notifications
- Easily extendable with custom features
- Google Tag Manager and Google Merchant Center integrations
Documentation
The documentation of this plugin can be found here: https://offline-gmbh.github.io/oc-mall-plugin/
Requirements
- PHP7.2+
- Winter Version 1.2+
- For best performance use MySQL 5.7+ or MariaDB 10.2+
Demo
A live demo of the plugin can be found here: https://mall.offline.swiss
Support
For support and development requests please file an issue on GitHub.
Installation
The easiest way to get you started is by using the command line:
composer require \ winter/wn-user-plugin \ winter/wn-location-plugin \ winter/wn-translate-plugin \ winter/wn-mall-plugin
Once the plugin is installed take a look at the official documentation to get everything up and running.
Benchmarks
Below are some totally unscientific benchmarks created on a lazy Saturday afternoon. These tests were run on a DigitalOcean CPU optimized Droplet with 2 vCPU and 4GB RAM. October was run on Ubuntu 18.04, PHP 7.2.10, Apache 2.4.19 and MySQL 5.7.24.
All measurements were done using the Bedard.Debugbar plugin and are the average load time over 10 page loads (I told you they were unscientific!).
Index size defines the size of the winter_mall_index table. This table includes de-normalized
information about all Products and Variants. An index size of 1000 means there are 1000
individual Variants and Products stored. The demo data used was built using the
php artisan mall:seed-demo command run in an infinite loop.
Category page load is the page load time measured when a category page is loaded.
All stored products will be filtered, sorted (by sales count) and counted by the currently viewed category_id.
Nine of these products will be displayed and the pagination will be built based on the returned number
of results.
Filtered page load is the page load time measured when two filters are being enabled
(filter by the color Red and the material Carbon). In this case all products
will be filtered by their category, their color and their material. The pagination
will be built based on the returned number of results.
| Index size | Category page load | Filtered page load |
|---|---|---|
| 1'000 | 290 ms | 281 ms |
| 5'000 | 301 ms | 295 ms |
| 10'000 | 324 ms | 318 ms |
| 50'000 | 448 ms | 433 ms |
| 100'000 | 586 ms | 570 ms |
| 200'000 | 912 ms | 865 ms |
| 300'000 | 1300 ms | 1240 ms |
Please be aware that these benchmarks are only here to show you how this plugin behaves under different loads and the times will vary depending on the hardware, configuration and setup of your installation. If you really want to know how well the plugin performs install it yourself and give it a go!
Contributing
Documentation
The raw documentation for this plugin is stored in the docs directory. It is written in markdown and built with VuePress.
For a live preview of the docs install vuepress locally and run vuepress dev from the docs directory.
Bugs and feature requests
If you found a bug or want to request a feature please file a GitHub issue.
Pull requests
PRs are always welcome! Open them against the develop branch.
If you plan a time consuming contribution please open an issue first and describe what changes you have in mind.
🏆 Credits
This plugin is a fork of the fantastic Offline.mall plugin, adapted for WinterCMS with their friendly permission. A big thank you to them for this remarkable work.
winter/wn-mall-plugin 适用场景与选型建议
winter/wn-mall-plugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 100 次下载、GitHub Stars 达 8, 最近一次更新时间为 2026 年 02 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「shop」 「plugin」 「cms」 「e-commerce」 「winter」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 winter/wn-mall-plugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 winter/wn-mall-plugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 winter/wn-mall-plugin 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Admin Hub for GetCandy. A modern headless e-commerce solution for Laravel PHP framework.
Submodule for SilverShop which allows you to compare products in a table.
统计信息
- 总下载量: 100
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-18
