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 2mo 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 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

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

3025d ago

### Community

---

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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