Download the PHP package codejutsu1/laravel-vtung without Composer

On this page you can find all versions of the php package codejutsu1/laravel-vtung. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-vtung

laravel-vtung

Latest Version on Packagist GitHub Tests Action Status License Total Downloads

An Elegant Laravel Package for vtu.ng

Installation

PHP 8.2+ and Composer are required.

Usage

Open your .env file and add your username and password:

[!IMPORTANT] You must have a reseller account with vtu.ng to use our API.

Services

Check your wallet balance

Buy Airtime

It requires 3 parameters as an array to make airtime purchase from vtu.ng

Format Number

You can also format Nigerian Number with +234 code to local number.

Network Provider

This package gives you the power to get the network provider of any number in Nigeria.

[!NOTE] You can always use the class Vtu::buyAirtime() or the helper vtu()->buyAirtime()

Buy Data

It requires 3 parameters as an array to make data purchase from vtu.ng

[!IMPORTANT] You can get the data variation id from the vtu.ng

Verify Customers using their meter number and IUC/Smartcard Number

It requires 3 parameters as an array to verify a customer from vtu.ng

[!IMPORTANT] You can get the service_id from vtu.ng. You can verify EEDC customers using the service_id as enugu-electric but you can't pay EEDC Electricity Bills with vtu.ng.

Purchase/Subscribe CableTv

It requires 4 parameters as an array to purchase or subscribe CableTv from vtu.ng

[!IMPORTANT] You can get the service_id and variation_id from vtu.ng.

Pay Electricity Bills

To purchase, it requires 5 parameters as an array to pay electricity bills from vtu.ng

[!IMPORTANT] As usual, you can get the service_id and variation_id from vtu.ng.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Feel free to submit Issues (for bugs or suggestions) and Pull Requests(to the 1.x branch).

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an email to Daniel Dunu at [email protected]. All security vulnerabilities will be promptly addressed..

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-vtung with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^9.0 || ^10.0 || ^11.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^9.0 || ^10.0 ||^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codejutsu1/laravel-vtung contains the following files

Loading the files please wait ....