Download the PHP package achetibi/laravel-satim without Composer
On this page you can find all versions of the php package achetibi/laravel-satim. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download achetibi/laravel-satim
More information about achetibi/laravel-satim
Files in achetibi/laravel-satim
Package laravel-satim
Short Description Laravel package for integrating SATIM online payments.
License MIT
Homepage https://github.com/achetibi/laravel-satim
Informations about the package laravel-satim
Laravel Satim
Laravel Satim is a clean, extensible Laravel package that provides seamless integration with the Satim online payment gateway.
It supports full transaction lifecycle handling: registration, confirmation, and refund, all wrapped in a service-oriented architecture.
🚀 Features
- Simple configuration via
.env
- Clean service classes for payment flow:
- Register
- Confirm
- Refund
- Built-in error handling and response abstraction
- Custom HTTP client wrapper using Laravel's
Http
facade - Laravel-native setup with service provider, config, and facade
📦 Installation
⚙️ Configuration
Publish the config file:
Add the following variables to your .env
:
🧠 Basic Usage
Register a transaction
Confirm a transaction
Refund a transaction
All services return typed response or throw custom exceptions for errors.
Overriding language and currency (optional)
By default, the values for language and currency are loaded from your .env
file.
If you need to override them on a per-request basis, you can call setLanguage()
and setCurrency()
on the service before executing the request:
✅ Testing
Run the test suite:
📌 Roadmap
- [x] Register / Confirm / Refund operations
- [x] Request / Response validation layer
- [x] Exception mapping
- [x] End-to-end test suite with fake HTTP responses
- [ ] Status operation
- [ ] Webhook support
🔒 Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
🙏 Credits
- Abderrahim CHETIBI
- All Contributors
📄 License
The MIT License (MIT).
See LICENSE.md for full license text.
All versions of laravel-satim with dependencies
guzzlehttp/guzzle Version ^7.9
illuminate/config Version ^12.19
illuminate/http Version ^12.19
illuminate/support Version ^12.19