PHPackages                             riidme/laravel - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. riidme/laravel

ActiveLibrary[HTTP &amp; Networking](/categories/http)

riidme/laravel
==============

Laravel integration for riid.me URL shortener service

v1.0.0(1y ago)03PHPPHP ^8.3CI passing

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/prykris/riid.me-laravel)[ Packagist](https://packagist.org/packages/riidme/laravel)[ RSS](/packages/riidme-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Riid.me Laravel SDK
===================

[](#riidme-laravel-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/27f7f41c969c3ff862128242f9f81a6ae76dca35c66c2546e05a48dfb4f65b9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726969646d652f6c61726176656c2e737667)](https://packagist.org/packages/riidme/laravel)[![Tests](https://github.com/prykris/riid.me-laravel/actions/workflows/tests.yml/badge.svg)](https://github.com/prykris/riid.me-laravel/actions/workflows/tests.yml)[![Total Downloads](https://camo.githubusercontent.com/14d183dabc20f080340bf87094f942a006546c2c19d6fdc90e099e99af2b934a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726969646d652f6c61726176656c2e737667)](https://packagist.org/packages/riidme/laravel)

Laravel integration for the [riid.me](https://riid.me) URL shortener service.

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- Laravel 11.x

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require riidme/laravel
```

After installing, publish the configuration file:

```
php artisan vendor:publish --tag="riidme-config"
```

Configuration
-------------

[](#configuration)

Add these environment variables to your `.env` file:

```
RIIDME_API_URL=https://riid.me
RIIDME_TIMEOUT=5
RIIDME_RETRIES=3
```

Usage
-----

[](#usage)

### Using the Facade

[](#using-the-facade)

```
use Riidme\Laravel\Facades\Riidme;

$shortUrl = Riidme::shorten('https://example.com/very/long/url');
echo $shortUrl->getShortUrl(); // https://riid.me/abc123
// or simply
echo $shortUrl; // https://riid.me/abc123
```

### Using Dependency Injection

[](#using-dependency-injection)

```
use Riidme\Laravel\RiidmeManager;

class UrlController
{
    public function __construct(
        private RiidmeManager $riidme
    ) {}

    public function shorten(Request $request)
    {
        $shortUrl = $this->riidme->shorten($request->url);

        return response()->json([
            'short_url' => $shortUrl->getShortUrl()
        ]);
    }
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Kristaps Drivnieks](https://github.com/prykris)
- [All Contributors](../../contributors)

License
-------

[](#license)

The Apache2 License. Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance43

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93e7e271e0595983da9185fa55e0f50d4816df02e194c4b8bc683d098887e868?d=identicon)[prykris](/maintainers/prykris)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/riidme-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/riidme-laravel/health.svg)](https://phpackages.com/packages/riidme-laravel)
```

###  Alternatives

[danharrin/livewire-rate-limiting

Apply rate limiters to Laravel Livewire actions.

40523.1M27](/packages/danharrin-livewire-rate-limiting)[mateusjunges/laravel-kafka

A kafka driver for laravel

7163.1M17](/packages/mateusjunges-laravel-kafka)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[ricorocks-digital-agency/soap

A SOAP client that provides a clean interface for handling requests and responses.

4281.8M5](/packages/ricorocks-digital-agency-soap)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
