承接 phpdish/daily-song-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

phpdish/daily-song-plugin

Composer 安装命令:

composer require phpdish/daily-song-plugin

包简介

Daily song plugin for phpdish application

README 文档

README

Latest Stable Version Total Downloads MIT License Scrutinizer

具体效果请前往官网查看https://www.phpdish.com

Installation

执行下面命令安装

$ composer require phpdish/daily-song-plugin

修改你的 app/AppKernel.php 文件注册插件:

// 注册插件
$plugins = [
     ...
     
     new PHPDish\DailySongPlugin\PHPDishDailySongPlugin()
];

执行下面命令安装数据库:

$ bin/console doctrine:schema:update --force

Usage

引用播放器

在你的模板文件中相应的位置写入下面的代码:

{{ render(controller('PHPDishDailySongPlugin:Song:getSong')) }}

你会得到一个类似下面的html结构:

<div class="daily-song">
    <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" height=86 src="//music.163.com/outchain/player?type=2&id=xxx&auto=0&height=66"></iframe>
</div>

调整样式适配你的模板。

管理歌曲

安装之后在你的后台 > 网站 下回出现“每天一首歌”导航,你可以在这里进行歌曲的维护。

Support

如果有问题可以前往官网发帖或者直接在 issue 提问。

License

采用 MIT 开源许可证。

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固