定制 junior-dev/fedex-bundle 二次开发

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

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

junior-dev/fedex-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require junior-dev/fedex-bundle

包简介

Symfony bundle for integrating with the FedEx REST API (OAuth2, shipping, rates, tracking).

README 文档

README

FedexBundle est un bundle Symfony permettant de communiquer avec l'API REST de FedEx : authentification OAuth2, suivi de colis, et prochainement création d'envois, tarification, et étiquettes d’expédition.

🚀 Fonctionnalités

  • ✅ Authentification OAuth2 avec cache du token
  • 📦 Suivi de colis par numéro de tracking
  • 🛠️ Extensible : création d’envois, labels, tarifs (bientôt)
  • 🧪 Compatible Symfony 6 & 7
  • 🧰 Services typés, Developer Experience soignée

🧰 Installation

composer require junior-dev/fedex-bundle

⚙️ Configuration

🛠️ config/packages/fedex.yaml

fedex:
    api_key: '%env(FEDEX_CLIENT_ID)%'
    api_password: '%env(FEDEX_CLIENT_SECRET)%'
    account_number: '%env(FEDEX_ACCOUNT_NUMBER)%'
    meter_number: '%env(FEDEX_METER_NUMBER)%'
    mode: 'test' # ou 'production'

🗝️ .env

FEDEX_CLIENT_ID=your_client_id
FEDEX_CLIENT_SECRET=your_client_secret
FEDEX_ACCOUNT_NUMBER=your_account_number
FEDEX_METER_NUMBER=your_meter_number

FEDEX_CLIENT_AUTH_LINK=https://apis-sandbox.fedex.com/oauth/token
FEDEX_API_TRACKING=https://apis-sandbox.fedex.com/track/v1/trackingnumbers

🧱 Roadmap

  • Authentification OAuth2
  • Suivi de colis
  • Création d'envois
  • Téléchargement d'étiquettes
  • Estimation des tarifs
  • Annulation d'envois
  • Workflow Github
  • Écriture des tests

📚 Documentation

  • 🔍 Section Tracking — exemple d'utilisation, explication du DTO FedexTrackingEvent, et commande CLI.

📜 Licence

MIT © Zohoré Junior

🤝 Contribuer

Les contributions sont bienvenues ! Ouvre une issue ou une pull request 🚀

Symfony

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-13