stormiix/php-eyed3 问题修复 & 功能扩展

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

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

stormiix/php-eyed3

Composer 安装命令:

composer create-project stormiix/php-eyed3

包简介

A PHP wrapper for reading and updating ID3 meta data of (e.g.) MP3 files using eyeD3

README 文档

README

GitHub stars GitHub forks Build Status Donations Badge

A PHP wrapper for reading and updating ID3 meta data of (e.g.) MP3 files using eyeD3

Requirements

You need PHP >= 7.0 to use the library, but the latest stable version of PHP is recommended.

Installation

  1. Make sure you have eyeD3 installed.
  2. Install package
	composer require stormiix/php-eyed3 dev-master

This will edit (or create) your composer.json file and automatically choose the most recent version. 3. Require autoload.php

	require __DIR__ . '/vendor/autoload.php';

Usage

	use Stormiix\EyeD3\EyeD3;

	$eyed3 = new EyeD3("mp3 file path");
	$tags = $eyed3->readMeta();
	// $tags is an array that contains the following keys:
	// artist, title, album, comment(s), lyrics ..etc

	$meta = [
		"artist" => "MyArtist",
		"title" => "MyTitle",
		"album" => "MyAlbum",
		"comment" => "MyComment",
		"lyrics" => "MyLyrics",
		"album_art" => "cover.png"
	];
	// Update the mp3 file with the new meta tags
  	$eyed3->updateMeta($meta);

Running tests

$ phpunit

Authors

P.S: a similar wrapper exists for NodeJs apps: node-eyed3

License

This project is licensed under the MIT License - see the LICENSE.md file for details

统计信息

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

GitHub 信息

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

其他信息

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