Download the PHP package cloudenum/laravel-biteship without Composer
On this page you can find all versions of the php package cloudenum/laravel-biteship. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cloudenum/laravel-biteship
More information about cloudenum/laravel-biteship
Files in cloudenum/laravel-biteship
Package laravel-biteship
Short Description Unonfficial Laravel package for Biteship API.
License MIT
Homepage https://github.com/cloudenum/laravel-biteship
Informations about the package laravel-biteship
Unofficial Laravel package for Biteship API
With this package you can easily interact with Biteship API
Here is a simple example to retrieve shipping costs
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
The usage of this package will largely follows Biteship API Usage Flow.
Authentication
You must obtain an API key to use this package. Biteship has documentation on how you could get an API key.
After you get your API key add below environments to your .env
file
Area
Retrieve Area With Single Search
Example:
Retrieve Area With Double Search
For the first request you could use the Area::search()
method and set the double
paramater to true
.
Then for the second request you could use Area::doubleSearchSecondRequest()
method.
Example:
Tip:
You could get Area by their's ID withArea::doubleSearchSecondRequest()
method.
Rates
Retrieve Courier Rates
Example:
Shipping Order
Create a Shipping Order
Example:
Get Shipping Order By ID
[API Doc]()
Example:
Cancel a Shipping Order
Example:
Shipment Tracking
Get Shipment Tracking By ID
Note
Tracking ID is not Waybill ID issued by couriers
Example:
Get Shipment Tracking By Waybill ID
Example:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Hammam Afiq Murtadho
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-biteship with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0