Skip to content
PHP wrapper for Open Food Facts
Branch: master
Clone or download
Latest commit d5fc3b1 Oct 4, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples add example and tests Sep 18, 2019
src add example and tests Sep 18, 2019
tests add example and tests Sep 18, 2019
.gitignore fix: update composer data Jan 24, 2019
.travis.yml add travis Sep 11, 2018 first commit Jun 19, 2016 first commit Jun 19, 2016 remove "Stories in Ready"-Badge as it is no longer available Aug 19, 2019
composer.json add caching and custom httpClient DI, fix CS and typos Sep 18, 2019
phpunit.xml Add some POO Sep 7, 2018


Open Food Facts

PHP API Wrapper for Open Food Facts, the open database about food.

Project Status Build Status Average time to resolve an issue Percentage of issues still open


With Composer:

composer require openfoodfacts/openfoodfacts-php


Is possible using API without Wrapper.

$api = new OpenFoodFacts\Api('food','fr-en',$log);
$prd = $api->getProduct('3057640385148');



  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.