Download the PHP package fannypack/beyonic without Composer
On this page you can find all versions of the php package fannypack/beyonic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package beyonic
About this library
This is a simple/basic implementation of beyonic payments in laravel 5
Actions supported
Note: You must have a valid Beyonic account to use this library
- RECEIVING MONEY [Collection request]
- SENDING MONEY [Payments]
For more information visit Beyonic
Installation
composer require fannypack/beyonic
For Laravel <= 5.4 Register service provider
For Laravel <= 5.4 Register Facade
For Laravel > 5.4 Service provider and Facade are discovered automatically
After the service provider is registered run this command
This command will create a copy of the library's config file and migrations into your code base
Run migrations to create beyonic_payments table to store your payment instances
Environment setup
The library loads configurations from the .env file in your application's root folder. These are the contents of beyonic.php
Usage in context of your beyonic account
Using it with your models, add trait FannyPack\Beyonic\Billable to your models and make sure your model has a phone_number field
Requesting payment from a billable instance, this method takes an optional phone number in case you want to provide a different number to withdraw the funds from and the method returns a FannyPack\Beyonic\Payment::class instance
Information about a Collection request
Sending payment to th phone number associated with the billable instance, this method takes an optional phone number in case you want to provide a different number to deposit the funds to and the method returns a FannyPack\Beyonic\Payment::class instance
For information about the response body visit Beyonic
Bugs
For any bugs found, please email me at [email protected] or register an issue at issues
All versions of beyonic with dependencies
illuminate/database Version ~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
illuminate/support Version ~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
illuminate/routing Version ~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
illuminate/validation Version ~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
nesbot/carbon Version ^1.26.3 || ^2.0