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.
testo/facade
headercat/phpstan-extension-ide-helper
yosymfony/parser-utils
innmind/black-box
babenkoivan/elastic-migrations
babenkoivan/elastic-adapter
sandermuller/package-boost-php
sandermuller/boost-core
depa/sulu-google-reviews-bundle
croct/plug-symfony
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle