承接 wheesnoza/laravel-ship24 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

wheesnoza/laravel-ship24

最新稳定版本:1.0.4

Composer 安装命令:

composer require wheesnoza/laravel-ship24

包简介

A Ship24 API Rapper for Laravel.

README 文档

README

Latest Version on Packagist Total Downloads GitHub Issues

Laravel Ship24 is a powerful package that integrates the Ship24 API seamlessly into your Laravel application. With this package, you can easily track shipments, create new trackers, and manage your tracking information.

Features

  • Easy Installation: Quickly set up and integrate the Ship24 API.
  • API Integration: Full support for Ship24's tracking API.
  • Extensible: Customize and extend the package according to your needs.
  • Compatible with Laravel 10 and 11: Works with the latest versions of Laravel.

Installation

You can install the package via Composer:

composer require wheesnoza/laravel-ship24

After installing, you may publish the configuration file:

php artisan vendor:publish --provider="Wheesnoza\Ship24\Providers\Ship24ServiceProvider" --tag=config

Configuration

The package requires an API token, which you should add to your .env file:

SHIP24_ACCESS_TOKEN=your-access-token

Usage

Retrieve a Tracker by ID

use Wheesnoza\Ship24\Facades\Ship24;

$tracker = Ship24::tracker('TRACKER_ID');

Retrieve Multiple Trackers

use Wheesnoza\Ship24\Facades\Ship24;

$trackers = Ship24::trackers();

Create a New Tracker

use Wheesnoza\Ship24\Facades\Ship24;

$tracker = Ship24::createTracker('TRACKING_NUMBER');

Testing

To run the tests, execute the following command:

composer test

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub.

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-31