Download the PHP package altynbek07/laravel-uds without Composer
On this page you can find all versions of the php package altynbek07/laravel-uds. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download altynbek07/laravel-uds
More information about altynbek07/laravel-uds
Files in altynbek07/laravel-uds
Package laravel-uds
Short Description UDS integration for Laravel
License MIT
Homepage https://github.com/altynbek07/laravel-uds
Informations about the package laravel-uds
Laravel UDS
UDS integration for Laravel. This package is the bridge between UDS and Laravel.
Installation
You can install the package via composer:
You should set these environment variables in your .env
file:
You can publish the config file with:
This is the contents of the published config file:
Usage
You can use the methods from \Altynbek07\Uds\Facades\Uds
anywhere you want, or you can send a request to the API routes from anywhere you want (for example, from the front via axios).
Available Methods
Get company settings
Docs: https://docs.uds.app/#tag/Settings
Create transaction
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations/post
Refund transaction
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations~1{id}~1refund/post
Get transaction information
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations~1calc/post
Find customer
Docs: https://docs.uds.app/#tag/Customers/paths/~1customers~1find/get
Get customer information
Docs: https://docs.uds.app/#tag/Customers/paths/~1customers~1{id}/get
Available API Routes
Get company settings
Docs: https://docs.uds.app/#tag/Settings
Create transaction
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations/post
Refund transaction
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations~1{id}~1refund/post
Get transaction information
Docs: https://docs.uds.app/#tag/Operations/paths/~1operations~1calc/post
Find customer
Docs: https://docs.uds.app/#tag/Customers/paths/~1customers~1find/get
Get customer information
Docs: https://docs.uds.app/#tag/Customers/paths/~1customers~1{id}/get
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Altynbek
- All Contributors
License
The MIT License (MIT). Please see License File for more information.