PHPackages                             pollycodes/load4wrd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pollycodes/load4wrd

ActiveLibrary

pollycodes/load4wrd
===================

Load4wrd is a tool for E-Loading Business for 3 networks in the Philippines.

1.0.8(7y ago)0108MITPHP

Since Apr 13Pushed 6y agoCompare

[ Source](https://github.com/pollycodes/load4wrd)[ Packagist](https://packagist.org/packages/pollycodes/load4wrd)[ RSS](/packages/pollycodes-load4wrd/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (8)DependenciesVersions (10)Used By (0)

Load4wrd
========

[](#load4wrd)

Load4wrd is a tool for E-Loading Business for 3 networks (SMART, SUN, and GLOBE) in the Philippines.

About Load4wrd
--------------

[](#about-load4wrd)

Load4wrd is a framework agnostic PHP library that is designed to simplify the task of developing e-loading business for 3 networks (SMART, SUN, and GLOBE) in the Philippines.

Installation
------------

[](#installation)

### 1 - Dependency

[](#1---dependency)

The first step is using composer to install the package and automatically update your `composer.json` file, you can do this by running:

```
composer require pollycodes/load4wrd
```

### 2 - Provider

[](#2---provider)

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your `config/app.php` file adding the following code at the end of your `'providers'` section:

> `config/app.php`

```
// file START ommited
    'providers' => [
        // other providers ommited
        PollyCodes\Load4wrd\Load4wrdServiceProvider::class,
    ],
// file END ommited
```

#### Lumen

[](#lumen)

Go to `/bootstrap/app.php` file and add this line:

```
// file START ommited
	$app->register(PollyCodes\Load4wrd\Load4wrdServiceProvider::class);
// file END ommited
```

### 3 - Facade

[](#3---facade)

> Facades are not supported in Lumen.

In order to use the `Load4wrd` facade, you need to register it on the `config/app.php` file, you can do that the following way:

```
// file START ommited
    'aliases' => [
        'Load4wrd' => PollyCodes\Load4wrd\Facades\Load4wrd::class,
    ],
// file END ommited
```

### 4 - Config

[](#4---config)

In order to use the `Load4wrd`, you need to setup your account from Load4wrd on the `config/services.php` file, you can do that the following way:

> `config/services.php`

```
// file START ommited
    return [
        'load4wrd' => [
            'username' => env('L4D_USERNAME', 'Your-Username'),
            'password' => env('L4D_PASSWORD', 'Your-Password'),
            'environment' => env('L4D_ENV', false), // false = sandbox, true = production
        ],
    ];
// file END ommited
```

### 5 - Environment

[](#5---environment)

For security purpose you can use `.env` file, you can do that the following way:

> `.env`

```
// file START ommited
    L4D_USERNAME=Your-Username
    L4D_PASSWORD=Your-Password
    L4D_ENV=false // false = sandbox, true production
// file END ommited
```

Documentation
-------------

[](#documentation)

Sample Code:

```
namespace App\Http\Controllers;

use PollyCodes\Load4wrd\Loading;

class LoadController extends Controller
{
    // TARGET-MOBILE-NUMBER', 'PRODUCT-CODE', 'YOUR-16-UNIQUE-REFERENCE'
    // Example:
    // RequestLoad('09191234567', 'W5', '1234567890123456');
    public function RequestLoad($target, $code, $uniq_reference) {
      $loading = new Loading();
      $json = $loading->Send($target, $code, $uniq_reference);
      return $json;
    }

    // submit reference number return from RequestLoad
    public function VerifyLoadRequest($reference) {
      $loading = new Loading();
      $json = $loading->Verify($reference);
      return $json;
    }

    public function CheckWallet() {
      $loading = new Loading();
      $json = $loading->Balance();
      return $json;
    }

    // network = SMART, SUN, and GLOBE
    // set null for all networks product codes
    public function GetProductCodes($network = null) {
      $loading = new Loading();
      $json = $loading->Product_Codes($network);
      return $json;
    }

    public function CheckProductCode($code) {
      $loading = new Loading();
      $json = $loading->Check_Product_Code($code);
      return $json;
    }
}
```

Contact Us
----------

[](#contact-us)

**For registration and to have a Wallet Load from Telco**

- Mobile: 09177715380 or 09995233848
- Gmail:

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Load4wrd, please send an e-mail to King Paulo Aquino at . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Load4wrd is free software distributed under the terms of the MIT license.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~31 days

Total

9

Last Release

2783d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d11e02d3fc5f13a6487d4e9ebe335763ba185faec37ba575aff9faf954cfe81?d=identicon)[pollycodes](/maintainers/pollycodes)

---

Top Contributors

[![king052188](https://avatars.githubusercontent.com/u/23624198?v=4)](https://github.com/king052188 "king052188 (12 commits)")[![polly20](https://avatars.githubusercontent.com/u/35489521?v=4)](https://github.com/polly20 "polly20 (8 commits)")[![pollycodes](https://avatars.githubusercontent.com/u/38319617?v=4)](https://github.com/pollycodes "pollycodes (1 commits)")

---

Tags

laravellibrary

### Embed Badge

![Health badge](/badges/pollycodes-load4wrd/health.svg)

```
[![Health](https://phpackages.com/badges/pollycodes-load4wrd/health.svg)](https://phpackages.com/packages/pollycodes-load4wrd)
```

###  Alternatives

[panphp/pan

A simple, lightweight, and privacy-focused product analytics php package.

1.2k94.6k5](/packages/panphp-pan)[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.5k](/packages/mookofe-tail)[nikolag/laravel-square

Square API integration with Laravel built on nikolag/core

3827.3k](/packages/nikolag-laravel-square)[mariojgt/witchcraft

A Laravel Package Witchcraft, a quick start for new laravel Packages

312.6k](/packages/mariojgt-witchcraft)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
