Download the PHP package bhekor/laravel-paymish without Composer
On this page you can find all versions of the php package bhekor/laravel-paymish. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-paymish
Laravel Paymish
Laravel package for the Paymish payment gateway. Covers transactions, transfers, virtual accounts, subscriptions, products, customers, and more.
Official API docs: https://api.paymish.com/api/user-service/external/v1/docs/
Requirements
- PHP 8.2+
- Laravel 10, 11, or 12
- Guzzle 7+
Installation
Laravel auto-discovers the service provider and Paymish facade. Publish the config when you need to customize defaults:
Configuration
Add credentials to .env. Prefer OpenAPI keys when available; email/password also works:
Amounts for initialize / DVA / transfers are in NGN major units (send 1100 for ₦1,100). OpenAPI may mention subunits; live Paymish treats the value as naira.
Security
- Never hardcode live card numbers, CVVs, or BVNs in application code.
- Prefer
initialize()+ Paymish hosted checkout over rawwithCard()when possible (PCI scope). - Examples below use sandbox/test placeholders only.
- Always re-verify payments server-side (
transaction()->verify()) and on webhooks — do not trust client redirects alone.
Quick start
The client auto-authenticates from config before API calls (cached bearer JWT).
Usage
Authentication
Usually automatic. To generate a token manually:
Transactions
Channel helpers (test/sandbox data only):
Dedicated virtual accounts
Virtual accounts
Transfers
Recipients
Subscriptions & plans
Payment pages
Products
Additional product helpers (media, inventory, delivery fees, discount codes) follow the same facade pattern — see OpenAPI docs for full payloads.
Customers
Business
Split pages & subaccounts
Disputes
Webhooks
Paymish OpenAPI does not document a webhook HMAC scheme. This package includes an optional Paystack-style helper (HMAC-SHA512 hex of the raw body).
If PAYMISH_WEBHOOK_SECRET is empty, PaymishWebhook::valid() returns true (no-op) — you must still verify the payment via the API.
Response handling
All API methods return an ApiResponse:
Error handling
Testing
Changelog
Please see CHANGELOG.md for recent changes.
Contributing
Contributions are welcome — open a pull request or issue.
Credits
License
The MIT License (MIT). Please see LICENSE.md for more information.
All versions of laravel-paymish with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^10.0|^11.0|^12.0