Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Reloadly Laravel Package

ghanem/reloadly

Laravel package providing a simple facade to the Reloadly API for airtime top-ups. Fetch countries and operators, auto-detect operator by phone number, check balances, create recharge transactions, and list or retrieve transactions by ID.

View on GitHub
Deep Wiki
Context7

Laravel Reloadly

Latest Stable Version Total Downloads Latest Unstable Version License

A package that provides an interface between Laravel and Reloadly API, includes Gifs.

Installation

You can install the package via composer:

composer require ghanem/reloadly

now you need to publish the config file with:

php artisan vendor:publish --provider="Ghanem\Reloadly\ReloadlyServiceProvider" --tag="config"

how to use

import Reloadly Facade

<?php
....

use Ghanem\Reloadly\Facades\Reloadly;

class PostController extends Controller
{
    public function makeReport()
    {
        $countries =  Reloadly::countries();
    }

available methods

Get all Countries

Reloadly::countries();

Get Country By Iso Code

Reloadly::countryByIsoCode('eg');

Get all Operators

Reloadly::operators();
// filter by country Iso Code
Reloadly::operators('eg');

Get Operator By Id

Reloadly::operatorById(1);

auto Detect Operators for number by Iso Code

Reloadly::autoDetectOperator('eg', '+201013001322');

get balances

Reloadly::balances();

make airtime recharge

Reloadly::createTransaction("120", "15", ['countryCode' => 'EG', 'number' => '1013001322']);

Get all Transactions

Reloadly::transactions();

Get Transaction By Id

Reloadly::transactionById(20818);
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor