The Edama-PHP library provides access to the Edamam API for the PHP language.
Install with composer using composer require kylemilloy/edamam-php
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.
- Add full support for Food Database API
- Add full support for Nutrition Analysis API
- Add full support for Recipe Search API