Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.19 KB

File metadata and controls

38 lines (27 loc) · 1.19 KB

🎵 MP3 Stream Title

PHP Version License Stand with Ukraine Made in Ukraine

A lightweight PHP library to fetch the currently playing track from any online radio stream.

✨ Features

  • ⚡ Lightweight
  • 📦 No dependencies
  • 🧩 Easy to use
  • 🌐 Optional: PHP cURL support for better stream handling

⚡ Requirements

  • PHP >= 7.2
  • PHP cURL recommended but not required

📖 Usage

<?php

require_once 'Mp3StreamTitle' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Mp3StreamTitle.php';

use Mp3StreamTitle\Mp3StreamTitle;

$mp3 = new Mp3StreamTitle();

// Replace with a direct radio stream link
echo $mp3->sendRequest('http://example.com');

👨‍💻 Author

📜 License

Apache 2.0