PHPackages                             heshanh/gofax - 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. heshanh/gofax

ActiveLibrary[API Development](/categories/api)

heshanh/gofax
=============

GoFax API

v0.1-alpha(8y ago)112MITPHP

Since Jan 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/heshanh/gofax)[ Packagist](https://packagist.org/packages/heshanh/gofax)[ RSS](/packages/heshanh-gofax/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

GoFax SOAP PHP SDK
==================

[](#gofax-soap-php-sdk)

This SDK provides simple access to the GoFax SOAP API. It currently handles the following requests

- List SOAP functions
- Get list of received faxes
- Get fax data for a given fax

Contents
--------

[](#contents)

- [Getting started](#getting-started)
- [Integrating with Laravel](#integrating-with-laravel)

Getting started
---------------

[](#getting-started)

Install the SDK into your project using Composer.

```
composer require heshanh/gofax
```

Integrating with Laravel
------------------------

[](#integrating-with-laravel)

This package ships with a Laravel specific service provider which allows you to set your credentials from your configuration file and environment.

### Registering the provider

[](#registering-the-provider)

Add the following to the `providers` array in your `config/app.php` file.

```
heshanh\GoFax\LaravelServiceProvider::class
```

### Adding config keys

[](#adding-config-keys)

In your `config/services.php` file, add the following to the array.

```
'gofax'=> [
        'api_url' => env('FAX_API_URL'),
        'api_key' => env('FAX_API_KEY'),

    ]
```

### Adding environment keys

[](#adding-environment-keys)

In your `.env` file, add the following keys.

```
FAX_API_KEY=
FAX_API_URL=
```

### Resolving a client

[](#resolving-a-client)

To resolve a client, you simply pull it from the service container. This can be done in a few ways.

#### Dependency Injection

[](#dependency-injection)

```
use heshanh\GoFax;

public function yourControllerMethod(SoapClient $client) {
    // Call methods on $client
}
```

#### Using the `app()` helper

[](#using-the-app-helper)

```
use heshanh\GoFax;

public function anyMethod() {
    $client = app(SoapClient::class);
    // Call methods on $client
}
```

### Available methods

[](#available-methods)

```
$client->getFunctions()

$client->getReceivedFaxes()

$client->getFaxDataFromId($faxId)

```

Refer to the GoFax API documentation for further information

### Testing

[](#testing)

Coming soon

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

3075d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1457155?v=4)[Heshan](/maintainers/heshanh)[@heshanh](https://github.com/heshanh)

---

Top Contributors

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

---

Tags

gofaxlaravel-package

### Embed Badge

![Health badge](/badges/heshanh-gofax/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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