sineverba/bitly-php-api-wrapper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sineverba/bitly-php-api-wrapper

Composer 安装命令:

composer require sineverba/bitly-php-api-wrapper

包简介

PHP Wrapper for APIv4 Bit.ly

README 文档

README

The Bit.ly name is trademark of Bit.ly!

Simple PHP wrapper for the Bit.ly API V4.

Support PHP >= 5.6

If you like or use this project, star it!

CI / CD Status
Packagist Total Downloads
Semaphore CI Build Status
Scrutinizer Scrutinizer Code Quality
Scrutinizer Code Coverage
Scrutinizer Build Status
Codecov codecov
StyleCI StyleCI
Coveralls Coverage Status
CircleCI CircleCI
Sonarcloud Quality Gate Status

Install

$ composer require sineverba/bitly-php-api-wrapper

Usage

<?php

require_once ('vendor/autoload.php');

use Bitlywrap\Auth\Auth;
use Bitlywrap\Adapter\Adapter;
use Bitlywrap\Wrapper\Wrapper;

$token = 'your_generic_access_token';

$auth = new Auth($token);
$adapter = new Adapter($auth);
$wrapper = new Wrapper($adapter);

$long_url = 'http://www.example.com';

$short_url = $wrapper->getShortLink($long_url);

echo $short_url; // http://bit.ly/2HzJUKT

Contributions

Contributions are welcome and will be fully credited.

统计信息

  • 总下载量: 1.33k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固