Download the PHP package rlnks/sdk without Composer

On this page you can find all versions of the php package rlnks/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

RLNKS PHP SDK

Official PHP SDK for the RLNKS API - Smart redirect and image routing.

Requirements

Installation

Install via Composer:

Quick Start

Authentication

The SDK supports API key authentication. Your API key can be found in your RLNKS dashboard.

Decision Trees

Decision trees are the core of RLNKS. They define conditional logic for serving different images or redirecting to different URLs.

List Trees

Create a Tree

Update a Tree

Activate/Deactivate a Tree

Clone a Tree

Test a Tree

Delete a Tree

Images

Upload and manage images that can be used in image-type decision trees.

List Images

Upload an Image

Get Folders

Update Image

Delete an Image

Analytics

Access performance analytics for your decision trees.

Get Tree Analytics

Get Breakdown by Dimension

Webhooks

Set up webhooks to receive real-time notifications about events in your account.

List Webhooks

Create a Webhook

Update a Webhook

Test a Webhook

Get Deliveries

Regenerate Secret

Handling Webhooks

When receiving webhooks, always verify the signature before processing:

Custom Domains

Serve your links from your own domain for white-label solutions and brand consistency.

List Domains

Add a Domain

Verify and Activate

Set Default Domain

Check Availability

Delete a Domain

Ephemeral Links (Test Links)

Create temporary links for testing decision trees without affecting production statistics.

Create Test Links

Test with Variable Slugs

Variable slugs allow testing different condition paths with a single tree.

List and Manage Links

Link Properties

Variable Slugs in Tree Conditions

Variable slugs enable condition-based routing with a single URL. This allows one tree to handle multiple use cases (e.g., different banners for different contexts).

URL Format

Examples:

Using in Tree Conditions

When building a tree, use the slug field in conditions:

Testing Variable Slugs

Account

Manage your account settings and monitor usage.

Get Account Info

Get Usage

Get Plan Limits

Get a comprehensive summary of all plan limits and current usage:

Update Account

Error Handling

The SDK throws specific exceptions for different error types:

Rate Limiting

The SDK automatically extracts rate limit information from responses:

Pagination

Paginated responses provide convenient methods for iteration:

Models

Response data is returned as model objects with helpful methods:

Tree Model

Image Model

Testing

The SDK includes helpers for testing your integration:

License

MIT License. See LICENSE file for details.


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.0
psr/http-client Version ^1.0
psr/http-message Version ^1.0|^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rlnks/sdk contains the following files

Loading the files please wait ...