2017 © Pedro Peláez
 

library bitly4laravel

Provides a Laravel package to communicate with Bit.ly API

image

jelovac/bitly4laravel

Provides a Laravel package to communicate with Bit.ly API

  • Saturday, December 23, 2017
  • by vladimir-jelovac
  • Repository
  • 2 Watchers
  • 32 Stars
  • 42,526 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 17 Forks
  • 0 Open issues
  • 26 Versions
  • 7 % Grown

The README.md

bitly4laravel

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Provides a Laravel package to communicate with Bit.ly API., (*2)

In order to use this package you need to get OAuth Generic Access Token from Bitly website., (*3)

Project status: Archived (Abandoned)

Due to security concerns decided to archive the project since it hasn't been maintained for years., (*4)

Either fork it or seek other libraries which are more up to date., (*5)

All the best Vladimir J., (*6)

Instalation

Warning this is v3 version of bitly4laravel package. If you want to use the old v2 version use the v2 branch., (*7)

Add bitly4laravel to your composer.json file., (*8)

require : {
    "jelovac/bitly4laravel": "3.*"
}

Or with composer command:, (*9)

composer require jelovac/bitly4laravel 3.*

Add provider to your app/config/app.php providers, (*10)

Jelovac\Bitly4laravel\Bitly4laravelServiceProvider::class,

Publish config, (*11)

For Laravel 5 use:, (*12)

php artisan vendor:publish

For Laravel 4 use:, (*13)

php artisan config:publish jelovac/bitly4laravel

Optional (recommended)

Add alias to app/config/app.php aliases, (*14)

'Bitly' => Jelovac\Bitly4laravel\Facades\Bitly4laravel::class,

Usage

Shorten links, (*15)

Bitly::shorten('http://google.com/');

Response format: JSON

{
    "data": {
      "global_hash": "900913",
      "hash": "ze6poY",
      "long_url": "http://google.com/",
      "new_hash": 0,
      "url": "http://bit.ly/ze6poY"
    },
    "status_code": 200,
    "status_txt": "OK"
}

Expand links, (*16)

Bitly::expand('http://bit.ly/ze6poY');

Response format: JSON

{
    "data": {
      "expand": [
        {
          "global_hash": "900913",
          "long_url": "http://google.com/",
          "short_url": "http://bit.ly/ze6poY",
          "user_hash": "ze6poY"
        }
      ]
    },
    "status_code": 200,
    "status_txt": "OK"
}

Repository

https://github.com/jelovac/bitly4laravel, (*17)

License

The Bitly4laravel package is open-sourced software licensed under the MIT license, (*18)

The Versions

23/12 2017

v3.x-dev

3.9999999.9999999.9999999-dev

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

23/12 2017

v3.7.2

3.7.2.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

23/12 2017

dev-master

9999999-dev

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

26/10 2017

v3.7.1

3.7.1.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

25/10 2017

v3.7

3.7.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

01/07 2017

v3.6

3.6.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

08/06 2017

v3.5

3.5.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

08/06 2017

v3.4

3.4.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

08/06 2017

v3.3

3.3.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

08/03 2017

v3.2

3.2.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

10/06 2015

3.x-dev

3.9999999.9999999.9999999-dev

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

05/05 2015

v3.1.0

3.1.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Jelovac

05/04 2015

v3.0.3

3.0.3.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Jelovac

05/04 2015

2.x-dev

2.9999999.9999999.9999999-dev

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

05/04 2015

v2.2.3

2.2.3.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

05/03 2015

v3.0.2

3.0.2.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Jelovac

19/02 2015

v2.2.2

2.2.2.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

17/02 2015

v3.0.1

3.0.1.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Jelovac

16/02 2015

v3.0

3.0.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vladimir Jelovac

16/02 2015

v2.2.1

2.2.1.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

13/02 2015

v2.2.0

2.2.0.0

Provides a Laravel package to communicate with Bit.ly API

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

08/06 2014

v2.1.3

2.1.3.0

Provides basic bitly API to use with Laravel 4

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

12/04 2014

v2.1.0

2.1.0.0

Provides basic bitly API to use with Laravel 4

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Vladimir Jelovac

11/02 2014

v2.0.3

2.0.3.0

Provides basic bitly API to use with Laravel 4

  Sources   Download

BSD-2-Clause

The Requires

 

by Vladimir Jelovac

10/02 2014

v2.0.2

2.0.2.0

Provides basic bitly API to use with Laravel 4

  Sources   Download

BSD-2-Clause

The Requires

 

by Vladimir Jelovac

05/01 2014

v1.0

1.0.0.0

Provides basic bitly API to use with Laravel 4

  Sources   Download

BSD-2-Clause

The Requires

 

by Vladimir Jelovac