Download the PHP package kalprajsolutions/bitly without Composer

On this page you can find all versions of the php package kalprajsolutions/bitly. 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 Advanced Package

A laravel package for generating Bitly advanced short URLs and BITLINKS.

Bitly is the most widely trusted link management platform in the world. By using the Bitly API, you will exercise the full power of your links through automated link customization, mobile deep linking, and click analytics.

For more information see BITLY DEV DOCS

Latest Stable Version License Total Downloads

Requirements

Laravel 5.1 or Later

PHP 7.1 or Later

Bitly Access Token

Installation

Installation is a quick 3 step process:

  1. Download kalprajsolutions/bitly using composer
  2. Enable the package in app.php
  3. Configure your Bitly credentials
  4. (Optional) Configure the package facade

Step 1: Download kalprajsolutions/bitly using composer

Add kalprajsolutions/bitly by executing the command:

Step 2: Enable the package in app.php

Register the Service in: config/app.php

Step 3: Configure Bitly credentials

Add this in you .env file

Step 4 (Optional): Configure the package facade

Register the Bitly Facade in: config/app.php

Quick Usage

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:

In quick usage you can also use Proxy to short the url asap using ->proxy()

Advance Usage

This Bitly package allow you to use advance bitlink attributes to customize bitly urls and proxies.

Guarding Attributes

Note: While using attribues you will have to provide ->url() and ->get() to retrive short url!

URL

You will have to provide long URL to this function which will be used to shorten the url.

TITLE

Its a short description that appears in the Bitly UI. You can now set the title of the URL which you are shortning by passing title in title function

PROXY

Pass an associative array to specify HTTP proxies for specific URI schemes (i.e., "http", "https"). Provide a no key value pair to provide a list of host names that should not be proxied to.

Note: You can provide proxy URLs that contain a scheme, username, and password. For example, "http://user:pass@localhost:8125".

OR

TAGS

Set multiple tags with tags attributes. Tags must be provided in array.

GUID

guid can be used to set your group id. GUID Identifies a group of users in your account. Every user will belong to at least one group within an organization. Most actions on our API will be on behalf of a group. Always verify your default group in Bitly and specify a group in the call with ->guid() attribute.

DOMAIN

Customizing the domain requires that you have a custom domain attached to your Bitly account. The default value is bit.ly. To brand your short links use domain attribute. Premium Bitly customers can set custom domain added in dashboard with ->domain() . This is only for Premium Bitly Customers


All versions of bitly with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
illuminate/support Version ^5.8 || ^6.0 || ^7.0 || ^8.0
guzzlehttp/guzzle Version ~6.0 || ^7.0.1 || ^7.1 || ^7.2 || ^7.3
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 kalprajsolutions/bitly contains the following files

Loading the files please wait ....