bazzly / payoffice
Laravel all fintech payment API server ping system in one
v0.1.0-alpha
2023-09-29 10:09 UTC
Requires (Dev)
- orchestra/testbench: ^7.15
This package is auto-updated.
Last update: 2024-04-17 10:39:29 UTC
README
All payment system in one
This package is to solve just one problem
Api url can be down this means payment on website will not go through
this package will allow user or admin to ping and see
the status of every fintech API url before accepting them
to be the use as the prefered payment option.
Default preset ping is 10ms user can decide to increase it when they are experiencing large payment
companyName,
APIUrl
prefered ping
$data = new PingServer(string $name, string $url, int $preferSeverPing = null);
Output result data
'companyName'
'APIUrl'
'serverStatus'
'serverPing'
'userPing'