- Notifications
You must be signed in to change notification settings - Fork1
The Inbox Pattern/Process for Laravel apps. Ensure the ordering, uniqueness, and reliable handling of webhook requests.
License
shipsaas/laravel-inbox-process
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Talking about distributed computers & servers, it is quite normal nowadays to communicate between servers.
Unlike a regular conversation though, there's no guarantee the message gets delivered only once, arrives in the right order, or even gets a "got it!" reply.
Thus, we haveInbox Pattern to help us to achieve that.
The Inbox Pattern is a popular design pattern in the microservice architecture that ensures:
- High availability ✅
- Guaranteed webhook deliverance, no msg lost ✅
- Guaranteedexactly-once/unique webhook requests ✅
- Execute webhook requestsin ORDER/sequence ✅
- (Optional) High visibility & debug all prev requests ✅
And with that being said:
Laravel Inbox Process (powered by ShipSaaS) ships everything out-of-the-box andhelps you to roll out the inbox process in no time 😎🚀.
- Laravel 10 & 11
- PHP 8.2+
- MySQL 8, MariaDB, Postgres 13+ and SQLite
Install the library:
composer require shipsaas/laravel-inbox-process
Export config & migration files and then run the migration:
php artisan vendor:publish --tag=laravel-inbox-processphp artisan migrate
Visit:ShipSaaS Inbox Documentation
Best practices, usage & notes are well documented too 😎!
Runcomposer test 😆
Available Tests:
- Unit Testing 💪
- Integration Testing against MySQL & PostgreSQL for the
inbox:workcommand 😎 - Human validation (lol) 🔥
ShipSaaS loves tests, we won't ship sh!tty libraries 🌹
- Seth Phat
Feel free to submit any PR, please follow PSR-1/PSR-12 coding conventions and testing is a must.
If this package is helpful, please give it a ⭐️⭐️⭐️. Thank you!
MIT License
About
The Inbox Pattern/Process for Laravel apps. Ensure the ordering, uniqueness, and reliable handling of webhook requests.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.

