selviler/
laravel-url-shortener
g4t.io

Shorten URLs in Your Laravel App with the Cuttly Package

18 views 40 stars by Paul Redmond

cutt.ly api service

README from selviler/laravel-url-shortener Open on GitHub →

Cuttly Service

tests Latest Stable Version License Total Downloads

This package provides a convenient wrapper to the Cuttly API for Laravel applications.

Requirements

  • PHP 8.1
  • Laravel 9.x | 10.x

Installation

To install this package tou can use composer:

composer require slvler/cuttly

Usage

Find player

$data['short'] = 'google.com';

Cuttly::short($data);

URL Shortener:

{
  "url": {
    "status": 7,
    "fullLink": "http://google.com",
    "date": "2023-08-07",
    "shortLink": "https://cutt.ly/ewdVijlY",
    "title": "Google"
  }
}

Edit Url

$data['edit'] = 'cutt.ly/LwdCoBmo';

Cuttly::edit($data);

Edit URL:

{
  "url": {
    "status": 1
  }
}

Find games

$data['stats'] = 'cutt.ly/ewdVijlY';

Cuttly::stats($data);

URL Stats:

{
  "stats": {
    "status": 1,
    "clicks": 0,
    "date": "2023-08-07",
    "title": "Google",
    "fullLink": "http://google.com",
    "shortLink": "https://cutt.ly/ewdVijlY",
    "facebook": 0,
    "twitter": 0,
    "pinterest": 0,
    "instagram": 0,
    "googlePlus": 0,
    "linkedin": 0,
    "rest": 0,
    "devices": {},
    "refs": {},
    "bots": "Insufficient subscription level"
  }
}

Testing

composer test

Credits

License

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

Contributing

You're very welcome to contribute. Please see CONTRIBUTING for details.

More from the ecosystem

durable-workflow/
workflow
g4t.io
9 1,292

Durable Workflow: Long-Running Workflows for Laravel

Embedded durable workflow runtime and orchestration engine for Laravel applications.

durable-workflow/workflow via Laravel News
packstub/
session-replay
g4t.io
14 52

Session Replay for Laravel: Self-Hosted Browser Recordings

Session replay for Laravel: record what a person did in the browser with rrweb, keep the recording on your own disk and database, and watch it behind a gate you define — masked inputs by default, errors, failed Livewire requests and web vitals marked on the timeline, a link to the replay in every log line. packstub/filament-session-replay adds the sessions to a Filament panel.

packstub/session-replay via Laravel News
cyberwizard-dev/
schedule-catchup
g4t.io
17

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date.

cyberwizard-dev/schedule-catchup via Laravel News