unopim/bagisto-connector
Composer 安装命令:
composer require unopim/bagisto-connector
包简介
UnoPim Bagisto Connector enables users to link their Bagisto store to the UnoPim platform, allowing for seamless synchronization and management of product information.
README 文档
README
The UnoPim-Bagisto Connector enables seamless integration between UnoPim 2.0 and Bagisto, allowing you to synchronize data effortlessly.
✨ Features
- 🗂 Export Categories: Export categories from UnoPim as collections in Bagisto.
- 🛠️ Attributes Sync: Transfer attributes from UnoPim to Bagisto with ease.
- 👨👩👧 Export Families: Export families from UnoPim to Bagisto.
- 📦 Product Export: Export products, including simple and configurable ones, from UnoPim to Bagisto.
- ⚡ Bulk API: Leverage a bulk API for faster product exports.
- 🗄️ Media Sync: Sync product images and videos from UnoPim to Bagisto.
- ☁️ AWS S3 Compatibility: Fully compatible with AWS S3 for image storage and management.
✅ Requirements
- UnoPim:
2.1.x - PHP:
8.3+ - Bagisto with REST API installed (
2.x.x)
🛠️ Installation with Composer (recommended)
UnoPim 2.0 ships with Laravel 12-style auto-discovery, so the service provider is registered automatically through composer.json (extra.laravel.providers). You only need to require the package and run the installer.
-
Require the package
composer require unopim/bagisto-connector
-
Run the package installer
The package ships an artisan command that runs the migrations, publishes assets, and clears caches in one step:
php artisan bagisto-package:install
Pass
--no-interaction(e.g. in CI) to accept the default for the migration prompt. -
(Optional) Verify the provider is registered
Auto-discovery should add the provider for you. If you want to confirm, check that
bootstrap/providers.phpresolves the package viacomposer dump-autoload— there is no entry to add by hand in UnoPim 2.0.
⚙️ Installation without Composer
Use this path only if you need to load the package from the local packages/ directory (for example when forking or developing the connector).
-
Place the package
Download and extract the connector. Rename the folder to
Bagistoand move it intopackages/Webkul/of your UnoPim 2.0 project, so the final path is:packages/Webkul/Bagisto -
Register the namespace
Open the project's root
composer.jsonand add the package namespace underautoload.psr-4:"autoload": { "psr-4": { "Webkul\\Bagisto\\": "packages/Webkul/Bagisto/src" } }
-
Register the service provider
UnoPim 2.0 follows the Laravel 12 bootstrap layout — providers live in
bootstrap/providers.php, not inconfig/app.php.Open
bootstrap/providers.phpand add the provider to the returned array:<?php return [ // ...other providers, Webkul\Bagisto\Providers\BagistoServiceProvider::class, ];
-
(Alternative) Register as a path repository
If you keep the package in
packages/Webkul/Bagistoand still want to install it via Composer (so auto-discovery handles the provider), register a path repository in the project'scomposer.jsonand require it:composer config repositories.bagisto '{"type":"path","url":"packages/Webkul/Bagisto","options":{"symlink":true}}' --json composer require unopim/bagisto-connector:"*@dev"
-
Refresh autoload and run the installer
composer dump-autoload php artisan bagisto-package:install php artisan optimize:clear
The installer covers
migrate,vendor:publish --tag=unopim-bagisto-connector, andoptimize:clearfor you. Run them individually only if you want fine-grained control:php artisan migrate php artisan vendor:publish --tag=unopim-bagisto-connector php artisan optimize:clear
🔁 Enable Queue Operations
The connector dispatches export jobs onto Laravel queues. Make sure a worker is running:
php artisan queue:work --queue=default,system,completeness
If queue:work is supervised by a process manager (Supervisor, systemd, etc.), restart it after upgrading the connector so the new code is picked up:
sudo service supervisor restart
🌐 Bagisto Requirement: REST API
The connector talks to Bagisto via its REST API. Install the API on the Bagisto side before configuring credentials in UnoPim.
- Reference repository — unopim/bagisto-rest-api
- Installation docs — Bagisto REST API docs
- Compatibility — install the
2.x.xline that matches your Bagisto version.
📞 Support
For any issues or inquiries, please contact our support team.
unopim/bagisto-connector 适用场景与选型建议
unopim/bagisto-connector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 87 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「integration」 「connector」 「PIM」 「bagisto」 「unopim」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 unopim/bagisto-connector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 unopim/bagisto-connector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 unopim/bagisto-connector 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
Redshift Connector for Laravel with AWS Secret Manager
Laravel integration for blade-to-react
The missing social authentication for thephpleague/oauth2-server, adapted from schedula/league-oauth2-social
Magento 2 Integration Suite
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 26
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-09