PHPackages                             technoyer/laravel-cuttly - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. technoyer/laravel-cuttly

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

technoyer/laravel-cuttly
========================

Helping developers using Cutt.ly API for shorter URLs

03PHP

Since Jan 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Technoyer/laravel-cuttly)[ Packagist](https://packagist.org/packages/technoyer/laravel-cuttly)[ RSS](/packages/technoyer-laravel-cuttly/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-cuttly
==============

[](#laravel-cuttly)

The cutt.ly package for Laravel

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

[](#installation)

As quick as possible you can install this package via composer

### 1) Download package: laravel-cuttly

[](#1-download-package-laravel-cuttly)

Run this command:

```
composer require technoyer/laravel-cuttly

```

### 2) Register service provider

[](#2-register-service-provider)

Register the service provider in `config/app.php`

```
        'providers' => [
		// [...]
                //Cuttly
                Technoyer\Cuttly\CuttlyServiceProvider::class,
        ],
```

You may also register the `Cuttly` facade:

```
        'aliases' => [
		// [...]
                //Cuttly
                'Cuttly' => Technoyer\Cuttly\Facade\Cuttly::class,
        ],
```

### 3) Cuttly API Key

[](#3-cuttly-api-key)

You must add the cutt.ly api key in .evn file, and publishing the config/cuttly.php

```
php artisan vendor:publish --provider="Technoyer\Cuttly\CuttlyServiceProvider"

```

Add this line in **.env** file

```
CUTTLY_API_KEY=your cutt.ly api key

```

Get your api key for this link:

Usage
-----

[](#usage)

```
