Download the PHP package yeamin/bitly-laravel without Composer

On this page you can find all versions of the php package yeamin/bitly-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bitly-laravel

Bitly-laravel

A simple package to use bitly api effectively to short link, get full link and other features offered by bitly.

For more information see Bitly

Requirements

Laravel 5.1 or later, minimum php version 7.0

Installation

Installation is a quick 3 step process:

  1. Download bitly-laravel using composer
  2. Enable the package in app.php
  3. Configure your Bitly credentials

Use the different methods offered in this package to access different bitly services.

Step 1: Download laravel-bitly using composer

Add yeamin/bitly-laravel package for laravel by running the command:

Step 2: Enable the package in app.php

Register the Service in: config/app.php. Add the below line inside providers array. One can find the provide array inside config/app.php

` Register the Bitly Facade in: config/app.php Add the below line inside aliases array.

This is a example where the Bitly facades will be added. `

Step 3: Configure Bitly credentials

Run the following command.

Add this in you .env file. One will need generic access token and enter the token in the place of your_secret_bitly_access_token inside .env You can find the generic access token from here Bitly Access Token.

Usage

To Get short URL:

( Do not forget to give http or https in the beginning of your url )

`

Or if you want to use facade, add this in your class after namespace declaration:

Then you can use it directly by calling Bitly:: like: `

To Expand URL:

`

Or if you want to use facade, add this in your class after namespace declaration:

Then you can use it directly by calling Bitly:: like: `


All versions of bitly-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-json Version *
illuminate/support Version ^5.1 || ^6.0
guzzlehttp/guzzle Version ~6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yeamin/bitly-laravel contains the following files

Loading the files please wait ....