How bagisto/laravel-aliexpress-dropship works
This Bagisto extension imports AliExpress listings into the store, synchronizes product information, imports reviews, and supports an order workflow that exposes store orders for AliExpress checkout. The Chrome extension is the documented initiating client for product/order operations; Bagisto admin users manage the resulting catalog and orders. The graph follows shown routes, controller calls, and repository references. Several capabilities are documented in the README but their implementation was not sampled, so those links are marked unverified rather than inferred as direct calls.
Main entry points: routes.php Extension routes · AliExpressProductRepository.php Product mapping · DropshipServiceProvider.php Package registration · admin-routes.php Admin routes
Components 28
Entry points
- Extension routes
src/Http/routes.php - Admin routes
src/Http/admin-routes.php - Shop verification
src/Http/Controllers/SecurityController.php - Product admin
src/Http/Controllers/Admin/ProductController.php - Order admin
src/Http/Controllers/Admin/OrderController.php - Review endpoint
src/Http/Controllers/ReviewController.php - Product listing
src/DataGrids/Admin/ProductDataGrid.php
Catalog import
- Product import
src/Http/Controllers/ProductController.php - Attribute import
src/Http/Controllers/AttributeController.php - Product mapping
src/Repositories/AliExpressProductRepository.php - Attribute mapping
src/Repositories/AliExpressAttributeRepository.php - Attribute options
src/Repositories/AliExpressAttributeOptionRepository.php - Review import
src/Repositories/AliExpressProductReviewRepository.php - Product sync
src/Console/Commands/ProductUpdate.php
Order operations
- Extension orders
src/Http/Controllers/OrderController.php - Order mapping
src/Repositories/AliExpressOrderRepository.php - Order listener
src/Listeners/Order.php - Order listing
src/DataGrids/Admin/OrderDataGrid.php
Extension foundation
- Dropship records
src/Models - Package registration
src/Providers/DropshipServiceProvider.php - Event registration
src/Providers/EventServiceProvider.php - Import settings
src/Config/system.php
Other components
- Store admin
- Chrome extension
- AliExpress
- Scheduled sync
- Bagisto catalog
- Bagisto orders
Connections 34
- Chrome extension → Extension routes: requests
src/Http/routes.php - Extension routes → Shop verification: routes to
src/Http/routes.php - Extension routes → Product import: routes to
src/Http/routes.php - Extension routes → Attribute import: routes to
src/Http/routes.php - Extension routes → Review endpoint: routes to
src/Http/routes.php - Extension routes → Extension orders: routes to
src/Http/routes.php - Store admin → Admin routes: manages
src/Http/admin-routes.php - Admin routes → Product admin: routes to
src/Http/admin-routes.php - Admin routes → Order admin: routes to
src/Http/admin-routes.php - Product import → Product mapping: imports via
src/Http/Controllers/ProductController.php - Attribute import → Attribute mapping: imports via
src/Http/Controllers/AttributeController.php - Review endpoint → Review import: imports via
src/Http/Controllers/ReviewController.php - Product mapping → Attribute mapping: uses
src/Repositories/AliExpressProductRepository.php - Product mapping → Attribute options: uses
src/Repositories/AliExpressProductRepository.php - Attribute mapping → Attribute options: checks options
src/Repositories/AliExpressAttributeRepository.php - Product mapping → Bagisto catalog: creates products
src/Repositories/AliExpressProductRepository.php - Review import → Bagisto catalog: creates reviews
- AliExpress → Product import: supplies listing data
- AliExpress → Review import: supplies reviews
- Scheduled sync → Product sync: runs periodically
- Product sync → Product mapping: updates via
src/Console/Commands/ProductUpdate.php - Store admin → Product listing: views products
- Store admin → Order listing: views orders
- Extension orders → Order mapping: reads and updates
src/Http/Controllers/OrderController.php - Order listener → Order mapping: records placed order
src/Listeners/Order.php - Order mapping → Bagisto orders: links store orders
src/Repositories/AliExpressOrderRepository.php - Chrome extension → Extension orders: requests checkout data
- Package registration → Extension routes: loads routes
src/Providers/DropshipServiceProvider.php - Package registration → Admin routes: loads routes
src/Providers/DropshipServiceProvider.php - Package registration → Event registration: registers
src/Providers/DropshipServiceProvider.php - Event registration → Order listener: registers listener
src/Providers/EventServiceProvider.php - Package registration → Import settings: merges config
src/Providers/DropshipServiceProvider.php - Product mapping → Dropship records: persists records
- Order mapping → Dropship records: persists records