monstergfx/php-mpd-client
Composer 安装命令:
composer require monstergfx/php-mpd-client
包简介
PHP-MPD-Client is a PHP client class for MPD.
README 文档
README
#Introduction
I needed a class to interface with MPD for a project. I looked around and found
a simple one at https://packagist.org/packages/mutantlabs/simplempd. However,
that project was a little more complicated that I needed - it packages an
interface class (SimpleMPDWrapper) with a REST service provider. I just needed
SimpleMPDWrapper, so I forked it & I'm extending it to provide more
functionality.
#Installing it in your project
Visit the project page at https://packagist.org/packages/monstergfx/php-mpd-client and install the package via Composer.
Requirements
- PHP 5.3 and above.
#SimpleMPDWrapper Class usage
See http://www.musicpd.org/doc/protocol/ for the MPD protocol documentation.
You can submit an arbitrary command via the MPD::send method.
There are also wrapper methods for several of the commands:
MPD::add()MPD::status()MPD::clear()MPD::currentSong()MPD::move()
License
- Licensed under the MIT License. See the LICENSE file for more details.
统计信息
- 总下载量: 372
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-07-23