kemokrepos/rebrandly

Laravel API wrapper for Rebrandly

dev-master 2021-07-09 06:01 UTC

This package is auto-updated.

Last update: 2025-06-09 14:30:33 UTC


README

Rebrandly API wrapper for Laravel.

Installation

composer install Kemok-Repos/Rebrandly

Usage

Create shortlink

Call the create function with the long Url you want to shrink.

Rebrandly::create(["destination" => "https://www.google.com"])

Update shortlink

Pass the shortlink ID and the properties you want to change to the update function.

Rebrandly::update("shortlink-ID", ["destination" => "https://www.youtube.com"])

Notes:

Check Rebrandly's API documentation to know more about the properties you have access to.