kylemilloy/edamam-php

PHP Library for the Edamam API

1.0.0 2022-11-14 14:36 UTC

This package is auto-updated.

Last update: 2024-04-14 17:36:09 UTC


README

Software License Build Status StyleCI Total Downloads

The Edama-PHP library provides access to the Edamam API for the PHP language.

Installation

Install with composer using composer require kylemilloy/edamam-php

Usage

Simple usage looks like:

\Edamam\Api\FoodDatabase\FoodDatabase::setApiCredentials('app_id', 'app_key');

$results = \Edamam\Api\FoodDatabase\FoodRequest::find(['ingredient' => 'pizza'])->results();

For more complex usage view the FoodDatabase API Docs.

Todo

  • Add full support for Food Database API
  • Add full support for Nutrition Analysis API
  • Add full support for Recipe Search API