Skip to content

jpmurray/lukaswhite-itunes-categories

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iTunes Categories

This simple PHP package simply defines all of the valid categories for iTunes podcasts.

Installation

composer require lukaswhite/itunes-categories

Usage

use Lukaswhite\ItunesCategories\Categories;

$categories = new Categories();

$categories->all();

This simply returns a nested associative array of all the categories as objects.

You can get a category directly:

$categories->get('Sports');
$categories->get('Sports', 'Football');
$categories->get('Kids & Family'); // NOTE we're using the key

You can check whether categories exist:

$categories->has('Sports') // true
$categories->has('Sports', 'Football'); // true

About

iTunes categories

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%