Skip to content

nitsujw/mmjmenu-php-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Setup

require '/home/justin/apps/php/mmjmenu-php-client/Mmjmenu.php';
$client = new Mmjmenu('API_KEY');

Examples

List Menu Items

$menuItems      = $client->menuItems();
$menuItems      = json_decode($menuItems, true);

foreach($menuItems['menu_items'] as $item){
    print($item['name']);
}

Get a Menu Item

$menuItem      = $client->menuItem('123')
$menuItem      = json_decode($menuItem, true);
$menuItem      = $menuItem['menu_item'];

print($menuItem['name']);

About

PHP Client for mmjmenu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages