Download the PHP package ghanem/bee without Composer
On this page you can find all versions of the php package ghanem/bee. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bee
Bee
A Laravel package that provides an interface to the Bee payment services API.
Requirements
- PHP 8.1+
- Laravel 10, 11, or 12
Installation
Publish the configuration file:
Configuration
Add the following to your .env file:
Usage
You can use the Bee facade or resolve BeeService from the container.
Service & Category Information
Transactions
Account & Billing
Service Charge Calculation
Language Support
Most methods accept a language parameter (defaults to 'en'):
DTOs (Typed Responses)
Use *Dto methods for typed response objects instead of raw arrays/collections:
Retry Mechanism
Failed API requests are automatically retried with exponential backoff:
Request/Response Logging
Enable logging to debug API calls. Credentials are automatically redacted:
Caching
Service and category lists are automatically cached to reduce API calls:
Rate Limiting
Limit the number of API requests per minute:
Webhooks
Receive transaction status updates via webhooks:
Listen for webhook events in your application:
Async / Queue Support
Process transactions asynchronously using Laravel queues:
Changelog
Done
- [x] Bee API integration (services, categories, providers)
- [x] Transaction inquiry and payment
- [x] Service charge calculation (forward and reverse)
- [x] Bills amount retrieval
- [x] Account info
- [x] Transaction lookup by ID and external ID
- [x] Multi-language support (en, ar, etc.)
- [x] Facade with full IDE autocompletion
- [x] Laravel 10, 11, and 12 support
- [x] PHP 8.1+ with modern type hints
- [x] Full test coverage (96 tests)
- [x] Retry mechanism for failed API requests
- [x] Request/response logging
- [x] Caching for service and category lists
- [x] Webhook support for transaction status updates
- [x] DTOs for API responses (ApiResponse, TransactionResult, ServiceChargeResult)
- [x] Rate limiting support
- [x] Async/queue support for batch transactions
Testing
Sponsor
License
MIT
All versions of bee with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0