lemonink/lemonink-php

Official PHP client for LemonInk API

Installs: 9 523

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/lemonink/lemonink-php

1.1.0 2023-02-16 07:24 UTC

This package is not auto-updated.

Last update: 2025-12-18 20:42:43 UTC


README

Getting started

  1. Sign up for LemonInk — Before you begin, you need to sign up for a LemonInk account and obtain an API key.
  2. Minimum requirements — To run the SDK, your system will need to meet the minimum requirements, including having PHP >= 5.5.

Example

<?php

require "vendor/autoload.php";

$client = new LemonInk\Client("your-api-key");

$transaction = new LemonInk\Models\Transaction();
$transaction->setMasterId("id-of-a-master-file");
$transaction->setWatermarkValue("Text you want to have embedded in your file");

$client->save($transaction);

echo "Download your file from {$transaction->getUrl()}\n";