PHPackages                             sachintool/bitly-connect - 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. sachintool/bitly-connect

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

sachintool/bitly-connect
========================

Connect Bitly Account

1.0(6y ago)04PHPPHP &gt;=5.6.39

Since Jul 10Pushed 6y agoCompare

[ Source](https://github.com/mishrasachin366/Bitly)[ Packagist](https://packagist.org/packages/sachintool/bitly-connect)[ Docs](http://sachinms.herokuapp.com/)[ RSS](/packages/sachintool-bitly-connect/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Bitly
=====

[](#bitly)

This is used to Connect Bitly Account and to generate Bitly Url

Installation
============

[](#installation)

```
composer require sachintool/bitly-connect

```

Usage
=====

[](#usage)

Code Generate
=============

[](#code-generate)

```
$code = $this->request->getQuery('code');

```

Create App
==========

[](#create-app)

click this url and create app and call back url

[https://app.bitly.com/BiaqctIkmtE/bitlinks/2X7RHET?actions=accountMain&amp;actions=profile&amp;actions=registeredOauthApps](https://app.bitly.com/BiaqctIkmtE/bitlinks/2X7RHET?actions=accountMain&actions=profile&actions=registeredOauthApps)

Return BITLY\_CLIENT\_ID, BITLY\_CLIENT\_SECRET and CALL BACK URL

Call back Url
=============

[](#call-back-url)

### Create object

[](#create-object)

use SachinTool\\BitlyConnect;

$response = new BitlyConnect();

#### Example with parameter

[](#example-with-parameter)

```
use SachinTool\BitlyConnect;

$response = $response->connect(BITLY_CLIENT_ID,BITLY_CLIENT_SECRET, $code, $callback_url);

```

Bitly Share
===========

[](#bitly-share)

#### Example with parameter

[](#example-with-parameter-1)

```
use SachinTool\BitlyConnect;

$response = $response->share($access_token, $video_url);

```

Developer
=========

[](#developer)

Sachin Mishra ()

Follow This Doc
===============

[](#follow-this-doc)

[https://dev.bitly.com/v4\_documentation.html](https://dev.bitly.com/v4_documentation.html)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

2500d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/43cfe904458befd3b102bc1048b3b3e4d2e610a37f68721ad62b126c390b68bd?d=identicon)[mishrasachin366](/maintainers/mishrasachin366)

---

Top Contributors

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

---

Tags

codeclient-secretClient IdRedirect Uri

### Embed Badge

![Health badge](/badges/sachintool-bitly-connect/health.svg)

```
[![Health](https://phpackages.com/badges/sachintool-bitly-connect/health.svg)](https://phpackages.com/packages/sachintool-bitly-connect)
```

###  Alternatives

[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[laminas/laminas-code

Extensions to the PHP Reflection API, static code scanning, and code generation

1.9k185.4M172](/packages/laminas-laminas-code)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71040.3M82](/packages/scrivo-highlightphp)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)

PHPackages © 2026

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