PHPackages                             fintech-systems/laravel-api-helpers - 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. [API Development](/categories/api)
4. /
5. fintech-systems/laravel-api-helpers

ActiveLibrary[API Development](/categories/api)

fintech-systems/laravel-api-helpers
===================================

Various helpers to make interacting with APIs easier

v0.1.5(3y ago)0581MITPHPPHP ^8.0

Since Oct 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fintech-systems/api-helpers)[ Packagist](https://packagist.org/packages/fintech-systems/laravel-api-helpers)[ Docs](https://github.com/fintech-systems/api-helpers)[ GitHub Sponsors](https://github.com/fintech-systems)[ RSS](/packages/fintech-systems-laravel-api-helpers/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)Dependencies (8)Versions (10)Used By (1)

Laravel API Helpers
===================

[](#laravel-api-helpers)

[![Latest Stable Version](https://camo.githubusercontent.com/79522b4b82e9a13e187d22ac3a62ee0ed3479025e69e0c8206b5fdac7bad057c/68747470733a2f2f706f7365722e707567782e6f72672f66696e746563682d73797374656d732f6c61726176656c2d6170692d68656c706572732f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/fintech-systems/laravel-api-helpers)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0f3a9d096cfe1926afe74686808b773c84e86923dc9d2972720046b2dcc4c5a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f66696e746563682d73797374656d732f6c61726176656c2d6170692d68656c706572732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/fintech-systems/laravel-api-helpers/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/b685dcee1a285b6a35bd4cf2bf8b9c9179d5814fcebd1af63b8c2e53948c119c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f66696e746563682d73797374656d732f6c61726176656c2d6170692d68656c706572732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/fintech-systems/laravel-api-helpers/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b2c06ff9bfb65b0484fb4079bcad988c5f9903868216fdcc41228855f34084b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66696e746563682d73797374656d732f6c61726176656c2d6170692d68656c706572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fintech-systems/laravel-api-helpers)[![GitHub license](https://camo.githubusercontent.com/1f22d46141172d11707e9219c080c2db228af4c80a01da0e6c9157f0401ce9b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f66696e746563682d73797374656d732f6c61726176656c2d6170692d68656c70657273)](https://github.com/fintech-systems/laravel-api-helpers/blob/main/LICENSE.md)

---

A helper library to facilitate working with APIs
------------------------------------------------

[](#a-helper-library-to-facilitate-working-with-apis)

### API: Get, Post, Delete

[](#api-get-post-delete)

`public function get(string $url, array $header = [])`

`public function post(string $url, string|array $postFields, array $header = [])`

`public function delete(string $url, string|array $postFields = '', array $header = [])`

Laravel API Helper Command - facilitates caching JSON API responses

Example:

```
class UserCommand extends LaravelApiHelpersCommand
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'api:get-users {--cached}';

    ...

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        if ($file = $this->checkCachedFileExists()) {
            $this->info('A cached API result file was returned');

            return $file;
        }

        $result = file_put_contents($this->cachedFile, Api::getUsers());
        $this->info('The API command was successful');

        return $result;
    }
```

---

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

[](#installation)

You can install the package via composer:

```
composer require fintech-systems/laravel-api-helpers
```

Usage
-----

[](#usage)

### WhatsApp to WHMCS phone number conversion

[](#whatsapp-to-whmcs-phone-number-conversion)

```
$api = new Api();
$result = $api->convertWhatsAppNumberToWhmcsPhoneNumber('27823096710');
expect($result)->toEqual('+27.82 309 6710');

$api = new Api();
$result = $api->convertWhatsAppNumberToWhmcsPhoneNumber('14085551234');
expect($result)->toEqual('+1.408-555-1234');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Eugene van der Merwe](https://github.com/fintech-systems)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~38 days

Recently: every ~74 days

Total

9

Last Release

1415d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/932743c076390240ecdefe58dc5f81b60cb5fe9ed38b3bead0541f640a7bb2a8?d=identicon)[eugenevdm](/maintainers/eugenevdm)

---

Top Contributors

[![eugenefvdm](https://avatars.githubusercontent.com/u/1836436?v=4)](https://github.com/eugenefvdm "eugenefvdm (33 commits)")

---

Tags

php-apilaravellaravel-helpersfintech-systems

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fintech-systems-laravel-api-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/fintech-systems-laravel-api-helpers/health.svg)](https://phpackages.com/packages/fintech-systems-laravel-api-helpers)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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