Download the PHP package farzai/thailand-post without Composer
On this page you can find all versions of the php package farzai/thailand-post. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package thailand-post
Thailand Post Tracking
PHP Library สำหรับ tracking พัสดุของไปรษณีย์ไทย อ้างอิงจากเว็บ APIs ของไปรษณีย์ไทย https://track.thailandpost.co.th/developerGuide ซึ่ง Library ตัวนี้ทำหน้าที่ครอบ REST APIs ของทางไปรษณีย์ไทยอีกทีนึงเพื่อสะดวกในการใช้งาน
สิ่งที่ต้องการ
- PHP 8.2 ขึ้นไป
- API Key จากไปรษณีย์ไทย (สามารถสร้างได้ที่ https://track.thailandpost.co.th/dashboard)
การติดตั้ง
ติดตั้งผ่าน Composer
การติดตั้งผ่าน Composer โดยใช้คำสั่งด้านล่าง
เริ่มต้นใช้งาน
ในการเริ่มต้นใช้งาน ท่านจำเป็นต้องมี API Key จากไปรษณีย์ไทยก่อน และนำมาใช้งานตามตัวอย่างด้านล่าง หากท่านต้องการทราบวิธีการสร้าง API Key สามารถดูได้ที่ https://track.thailandpost.co.th/dashboard
ส่วนของ REST APIs
คำสั่งอื่นๆ ที่สามารถใช้งานได้ สำหรับ REST APIs
-
ดึงข้อมูลสถานะของ barcode ที่ต้องการ
-
ดึงข้อมูลสถานะตามหมายเลขใบเสร็จที่ต้องการ
- สร้าง Access Token สำหรับใช้งาน Rest APIs
ส่วนของ Webhook APIs
คำสั่งอื่นๆ ที่สามารถใช้งานได้ สำหรับ Webhook APIs
-
สร้าง Webhook สำหรับติดตาม barcode ที่ต้องการ
-
สร้าง Webhook สำหรับติดตามหมายเลขใบเสร็จที่ต้องการ
-
ติดตามสถานะจาก Profile
- ยกเลิกการติดตาม Profile
Testing
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
- parsilver
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of thailand-post with dependencies
farzai/transport Version ^1.3.0
nyholm/psr7 Version ^1.4
nyholm/psr7-server Version ^1.0
symfony/cache Version ^7.0