PHPackages                             intellexapps/shoutcast - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. intellexapps/shoutcast

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

intellexapps/shoutcast
======================

Parse the SHOUTcast's '/7.html' info page into usable data

v1.0.0(5y ago)2161PHPPHP &gt;=7.1

Since Mar 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/IntellexApps/shoutcast)[ Packagist](https://packagist.org/packages/intellexapps/shoutcast)[ RSS](/packages/intellexapps-shoutcast/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Simple parser for the SHOUTcast stream info
===========================================

[](#simple-parser-for-the-shoutcast-stream-info)

### Why

[](#why)

SHOUTcast stream info is in the most ridiculous info API we have ever seen. Period.

So instead of hurting our brains every time we encounter one - we have built this parser. All for a simple 7-element comma-separated one-liner :)

##### We "love" it because

[](#we-love-it-because)

- The info is located on `7.html` page **(seems random)**
- The info is actually one-line CSV (we like that), but it is wrapped in HTML **(WT#!)**
- The ordering of elements in the info is **completely random**

Anyway, usage of this library
-----------------------------

[](#anyway-usage-of-this-library)

The easiest way is to supply the SHOUTcast stream URL, and then use the retrieved results.

**Note:** Behind the scenes, the info is retrieved over standard HTTP request.

```
