Download the PHP package elite/strowallet-sdk without Composer
On this page you can find all versions of the php package elite/strowallet-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elite/strowallet-sdk
More information about elite/strowallet-sdk
Files in elite/strowallet-sdk
Package strowallet-sdk
Short Description A simple SDK for making payments and creating USD virtual cards via the Strowallet API.
License MIT
Informations about the package strowallet-sdk
Strowallet Laravel SDK
A clean and developer-friendly Laravel SDK for interacting with Strowallet, supporting virtual cards, wallet transfers, and bank transactions with ease.
๐ Table of Contents
- โจ Features
- ๐ฆ Installation
- โ๏ธ Configuration
- ๐ Usage
- Card Service
- Wallet Service
- Bank Service
- ๐ก Examples
- ๐งน Extending
- ๐งช Testing
- ๐ License
- ๐ค Contributing
- ๐ Credits
โจ Features
- ๐ Virtual card issuance and management
- ๐ธ Wallet-to-wallet transfers
- ๐ฆ Bank verification and transfers
- โ๏ธ Simple Laravel service-based architecture
- โ Built-in request validation and error handling
- ๐ Clean, readable, and extendable codebase
๐ฆ Installation
Install via Composer:
โ๏ธ Configuration
Add the following to your .env file:
๐ Usage
You can access services in two ways:
โ Via Facade (Recommended)
โ Via Dependency Injection
Card Service
Available Card Methods
createCardUser(array $data)updateCardHolder(array $data)getCardHolder(string $customerEmail)createCard(array $data)fundCard(array $data)getCardDetails(string $cardId)cardAction(string $cardId, string $action)โ freeze/unfreezewithdrawCard(array $data)getCardTransactions(string $cardId)createGiftCard(array $data)
Wallet Service
Bank Service
๐ก Examples
Full Virtual Card Flow
๐งน Extending
You can easily add custom methods to the SDK:
Just define your method in the appropriate service class (CardService, WalletService, etc.).
๐งช Testing
Coming soon. The test suite will be available to ensure SDK stability and easy contribution.
In the meantime, you can run:
๐ License
This package is open-source software licensed under the MIT license.
๐ค Contributing
We welcome all contributions!
Please read our CONTRIBUTING.md for guidelines on submitting issues, feature requests, and pull requests.
๐ Credits
- Developed by Elite
- Powered by Strowallet