PHPackages                             nomadicsoft/editionguard-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. [API Development](/categories/api)
4. /
5. nomadicsoft/editionguard-php

ActiveLibrary[API Development](/categories/api)

nomadicsoft/editionguard-php
============================

Edition guard REST api implementation.

2203PHP

Since Mar 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nomadicsoft/editionguard-php)[ Packagist](https://packagist.org/packages/nomadicsoft/editionguard-php)[ RSS](/packages/nomadicsoft-editionguard-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Powered by
==========

[](#powered-by)

[![N|Solid](https://camo.githubusercontent.com/3cb55894e30d4c53519cdbf6b79c2a7222efdc9f631c2b8c1c9fc85eb6ffc12e/68747470733a2f2f69312e77702e636f6d2f6e6f6d61646963736f66742e696f2f77702d636f6e74656e742f75706c6f6164732f323031392f31312f6c6f676f2e706e673f773d3436372673736c3d31)](https://nomadicsoft.io/)

This package implements [Edition Guard](https://editionguard.com)'s REST api.

### Installation

[](#installation)

```
$ composer require nomadicsoft/editionguard-php
```

### Basic usage

[](#basic-usage)

```
# Create an api handler instance.
$editionGuard = new \NomadicSoft\EditionGuard\EditionGuard('API_TOKEN');
# Execute command.
$editionGuard->getBooks();
```

### Laravel support (Optional)

[](#laravel-support-optional)

```
You can do this things if you want to access an api via Laravels Facade class.

# Publish configs.
$ php artisan vendor:publish --provider=NomadicSoft\Laravel\Providers\EditionGuardServiceProvider
# Add to .env
EDITION_GUARD_API_TOKEN="YOUR_TOKEN"

Now you can use the Facade class "NomadicSoft\Laravel\Facades\EditionGuard" to access Edition Guard api.

# For example
NomadicSoft\Laravel\Facades\EditionGuard::getBooks();
```

### Supported methods

[](#supported-methods)

```
 * @method getBook(int $id)
 * @method getBooks(array $optional = [])
 * @method storeBook(string $title, string $resource, array $optional = [])
 * @method updateBook(int $id, string $title, string $resource, array $optional = [])
 * @method deleteBook(int $id)
 * @method generateBookLinks(int $id, int $count)
 * @method deliverBookLink(int $resourceId, string $email, array $optional = [])
 * @method deliverBookLinks(array $bookList, string $email, array $optional = [])
 * @method download(array $optional = [])
 * @method getTransaction(int $id)
 * @method getTransactions(array $optional = [])
 * @method createTransaction(int $resourceId, array $optional = [])
 * @method updateTransaction(string $id, string $resourceId, bool $showInstructions, string $watermarkName, string $watermarkEmail, string $watermarkPhone, bool $watermarkPlaceBegin, bool $watermarkPlaceEnd, bool $watermarkPlaceRandom, string $watermarkPlaceRandomCount, string $usesRemaining, array $optional = [])
 * @method deleteTransaction(string $id)
 * @method getMasterLink(string $id)
 * @method getMasterLinks()
 * @method createMasterLink(int $resourceId, array $optional = [])
 * @method updateMasterLink(string $id, string $resourceId, array $optional = [])
 * @method deleteMasterLink(string $id)
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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://avatars.githubusercontent.com/u/68226343?v=4)[NomadicSoft](/maintainers/nomadicsoft)[@nomadicsoft](https://github.com/nomadicsoft)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/nomadicsoft-editionguard-php/health.svg)

```
[![Health](https://phpackages.com/badges/nomadicsoft-editionguard-php/health.svg)](https://phpackages.com/packages/nomadicsoft-editionguard-php)
```

###  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)
