freelancersinchina/gigi-music 问题修复 & 功能扩展

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

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

freelancersinchina/gigi-music

Composer 安装命令:

composer require freelancersinchina/gigi-music

包简介

a toolbox for gigi's music

README 文档

README

a composer package,showing how to create an own package.

what does the package do ?

this is a tool used to get a random or sequence list of Gigi's songs.it is based on the netease music's api.

Usage

first,install freelancersinchina/gigi-music.

> composer require freelancersinchina/gigi-music

second,include the autoload function and enjoy using the gigi-music.

require_once("./vendor/autoload.php");
use Gigi;

// get a random list of songs
$songlist = new  GigiMusic(GigiMusic::GigiMusicType_Random);

// or get a sequence list of songs
// $songlist = new GigiMusic(GigiMusic::GigiMusicType_Sequence);

// suppose that we need to get  10 songs
$count = 10;

// get detail infos
$songs = $songlist->getFirst($count);

print_r($songs);

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固