As a Laravel developer passionate about e-commerce in Africa and Europe, I know logistics can be a headache. Couriers like Sendbox and Cargoplug use inconsistent APIs and webhook formats, making shipment tracking a chore. That’s why I built ShippingTracker v1.1.0, an open-source Laravel package to streamline logistics, and I’m excited to share it with you!
Why ShippingTracker?
ShippingTracker abstracts the mess of courier APIs, letting you focus on building great e-commerce apps. Here’s what it offers:
Easy Webhook Handling: Processes Sendbox and Cargoplug webhooks, saving tracking data (e.g., “delivered in Lagos”) with a clean event system.
Extensible: Add new providers (like DHL, planned for v1.2.1) without touching core code.
Laravel 9–12 Ready: Works across Laravel 9, 10, 11, and 12.
Beginner-Friendly: Simple setup with commands like composer
install quitenoisemaker/shipping-tracker:^1.1
`and a facade
(ShippingTracker::use('sendbox')->track('101782511'))
.Tested & Reliable: PHPUnit tests ensure webhook validation and provider switching work flawlessly.
Why It Matters
E-commerce is growing fast, but logistics remains tricky. ShippingTracker empowers devs to deliver real-time tracking to customers without API headaches, perfect for shops in Lagos or London.
Get Started
Install it in minutes:
`
composer require quitenoisemaker/shipping-tracker:^1.1
php artisan vendor:publish --provider="Quitenoisemaker\ShippingTracker\ShippingTrackerServiceProvider" --tag=config
`
Update config/shipping-tracker.php
and .env
with your courier credentials, run migrations, and you’re good to go! Check the GitHub repo for setup and webhook examples.
What’s Next?
I’m planning v1.2.1 with DHL support and more. Want a specific courier or feature? File an issue or PR on input shapes the future!
What’s your biggest logistics challenge in Laravel? Drop a comment below!
Top comments (0)