answear/mwl-pickup-point-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

answear/mwl-pickup-point-bundle

最新稳定版本:2.2.0

Composer 安装命令:

composer require answear/mwl-pickup-point-bundle

包简介

API Client for MwlBundle

README 文档

README

 @@@@@@@@& @@@@@@@@ @@@@@@@@ @@@ @@@ @@@ &@@@@@@@@ @@@@@@@@@ @@@@@@ @@@/ @@@ @@@ @@@ (@@ #@@ @@@ @@@ @@@ @@@ @@@ @@@ @@@* @@@ @@@/ @@@ @@@ @@@ @@@@ @@@ @@@ @@@ @@@ @@@@ @@@ @@@* @@@ @@@/ @@@ @@@ @@@ @@@@ @@@ @@@ @@@ @@@@@@ @@@ @@@* @@@ @@@/ @@@ @@@ @@@ @@@ @@@@ @@@ @@@ @@@ @@@ @@@ @@@ @@@* @@@ ,@@@ @@@ @@@ @@@ @@@% #@@@ @@@ @@@ @@@ @@@ @@@. @@@ @@@* @@@ %@@@@@@@@ @@@ @@@ /@@@@@@. @@@@@@/@@@@@@ @@@@@@@ @@@@@@@@* @@@ @@@ 

MWL (Meest + Nova Poshta) pickup point bundle

MWL integration for Symfony.
Documentation of the API can be found here: https://documenter.getpostman.com/view/12823986/TzCTam5v

Installation

  • install with Composer
composer require answear/mwl-pickup-point-bundle 

Answear\MwlBundle\AnswearMwlBundle::class => ['all' => true],
should be added automatically to your config/bundles.php file by Symfony Flex.

Setup

# config/packages/answear_mwl.yaml answear_mwl: partnerKey: 'partner-key' secretKey: 'secret-key'

config will be passed to \Answear\MwlBundle\ConfigProvider class.

Usage

Get pickup points

use Answear\MwlBundle\Command\GetPickupPoints; use Answear\MwlBundle\Request\GetPickupPointsRequest; /** @var GetPickupPoints $getPickupPointsCommand */ $getPickupPointsResponse = $getPickupPointsCommand->getPickupPoints(new GetPickupPointsRequest());

Get pickup points by carriers and country codes

use Answear\MwlBundle\Command\GetPickupPointsByCarriersAndCountryCodes; use Answear\MwlBundle\Enum\CarrierEnum; use Answear\MwlBundle\Enum\CountryCodeEnum; use Answear\MwlBundle\Request\GetPickupPointsByCarriersAndCountryCodesRequest; use Answear\MwlBundle\Request\Struct\CarrierAndCountryCode; $requestData = [ new CarrierAndCountryCode( CarrierEnum::Meest, CountryCodeEnum::Ukraine ), ] /** @var GetPickupPointsByCarriersAndCountryCodes $getPickupPointsCommand */ $getPickupPointsResponse = $getPickupPointsCommand->getPickupPointsByCarriersAndCountryCodesRequest( new GetPickupPointsByCarriersAndCountryCodesRequest($requestData) );

Get cities

use Answear\MwlBundle\Command\GetCities; use Answear\MwlBundle\Request\GetCitiesRequest; /** @var GetCities $getCitiesCommand */ $getCitiesResponse = $getCitiesCommand->getCities(new GetCitiesRequest());

Final notes

Feel free to open pull requests with new features, improvements or bug fixes. The Answear team will be grateful for any comments.

统计信息

  • 总下载量: 2.53k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固