Download the PHP package adewalecharles/smeify without Composer
On this page you can find all versions of the php package adewalecharles/smeify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adewalecharles/smeify
More information about adewalecharles/smeify
Files in adewalecharles/smeify
Package smeify
Short Description Integrate Smeify easily into your apllication
License MIT
Homepage https://github.com/adewalecharles/smeify
Informations about the package smeify
Smeify Laravel Package
Smeify is a Stable Automated Solution for Airtime and Data businesses in Nigeria, this package helps you integrate smeify easily into your laravel application.
Installation
PHP 7.4.3+ and Composer are required.
To get the latest version of adewalecharles/smeify, simply require it
Or add the following line to the require block of your composer.json
file.
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
Once adewalecharles/smeify is installed, you need to register the service provider. Open up config/app.php
and add the following to the providers
key.
Configuration
You can publish the configuration file using this command:
A configuration-file named smeify.php
with some sensible defaults will be placed in your config
directory:
Usage
Open your .env file and add your smeify login credentials like so:
If you are using a hosting service like heroku, ensure to add the above details to your configuration variables.
Then you need to migrate your databse
General Usage
To get your list of data plans from smeify all you need to do is call Smeify helper method like so
To get all your list of transactions from smeify all you need to do is call Smeify helper method like so
To initiate an Airtime transaction, just call the smeify helper method like so
To initiate an Data transaction, just call the smeify helper method like so
To get Data plans based on a particular network, call this package helper method like so.
To verify a transaction or confirm its status using its refrence call this package helper method like so.
To verify bulk transactions or confirm there status using their order_id call this package helper method like so.