PHPackages                             fortresswire/fw-sdk-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fortresswire/fw-sdk-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fortresswire/fw-sdk-php
=======================

FortressWire SDK for PHP - Use FortressWire in your PHP project

01PHP

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fortresswire/fw-sdk-php)[ Packagist](https://packagist.org/packages/fortresswire/fw-sdk-php)[ RSS](/packages/fortresswire-fw-sdk-php/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

FortressWire SDK for PHP
========================

[](#fortresswire-sdk-for-php)

> Disclaimer: This is a wip

The FortressWire SDK for PHP makes it easy for developers to interact with FortressWre from their PHP code. You can get started by installing the SDK through Composer.

Getting Started
---------------

[](#getting-started)

1. **Minimum requirements** - To run the SDK, your system will need to have a minimum PHP version of 7.4 with the cURL extension.
2. **Install the SDK** - Using Composer is the recommended way to install the FortressWire SDK for PHP. The SDK is available via [Packagist](https://packagist.org/) under the `fortresswire/fw-sdk-php` package. If Composer is installed globally on your system, you can run the following in the base directory of your project to add the SDK as a dependency:

```
composer require fortresswire/fw-sdk-php

```

Quick Examples
--------------

[](#quick-examples)

### Creating a Watchdog client

[](#creating-a-watchdog-client)

```
require './vendor/autoload.php';

use FortressWire\Watchdog\WatchdogClient;

$client = new WatchdogClient([
    'version' => '1',
    'region' => 'af-south-1',
    'key' => $_ENV['WATCHDOG_KEY'],
]);
```

### Creating Watchdog events

[](#creating-watchdog-events)

```
...

use FortressWire\Watchdog\WatchdogEvents;

$logger = new WatchdogEvents($client);

$logger->create('debug - low', 'Account registration failed.', [
    'first_name' => 'Donald',
    'last_name' => 'Pakkies'
]);
```

### Creating a MoanaDB client

[](#creating-a-moanadb-client)

```
require './vendor/autoload.php';

use FortressWire\Moana\MoanaClient;

$client = new MoanaClient([
    'version' => '1',
    'region' => 'af-south-1',
    'key' => $_ENV['MOANA_KEY'],
]);
```

### Creating a MoanaDB record

[](#creating-a-moanadb-record)

```
...

use FortressWire\Moana\Document;

$document = new Document($client);

$document->table('users')->create([
    'first_name' => 'Donald',
    'last_name' => 'Pakkies',
]);
```

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab5d074670727939549b6fd3ec9f502b9665eb674550074ef88f77178ff0b93b?d=identicon)[Donaldp](/maintainers/Donaldp)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fortresswire-fw-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/fortresswire-fw-sdk-php/health.svg)](https://phpackages.com/packages/fortresswire-fw-sdk-php)
```

###  Alternatives

[fideloper/proxy

Set trusted proxies for Laravel

7.3k174.4M550](/packages/fideloper-proxy)[fakerphp/faker

Faker is a PHP library that generates fake data for you.

3.9k358.5M3.4k](/packages/fakerphp-faker)[consolidation/robo

Modern task runner

2.7k62.9M408](/packages/consolidation-robo)[brick/money

Money and currency library

1.9k37.9M102](/packages/brick-money)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M67](/packages/jetbrains-phpstorm-stubs)[illuminate/support

The Illuminate Support package.

583107.1M34.3k](/packages/illuminate-support)

PHPackages © 2026

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