Skip to content

jpbernius/FMeat.php

Repository files navigation

FMeat.php

GitHub Actions Status Build Status Scrutinizer Code Quality Code Coverage Total Downloads

PHP Library for accessing the FMeat API.

Installation

composer require jpbernius/fmeat

Usage

use JPBernius\FMeat\FMeatClient;

$fmeat = new FMeatClient();
$week = $fmeat->getCurrentWeek();

foreach ($week as $day) {
  foreach ($day as $dish) {
	echo($dish->getName());
  }
}

Credits

eat-api by @srehwald