PHP API Wrapper for Open Food Facts, the open database about food.
composer require openfoodfacts/openfoodfacts-php
Is possible using API without Wrapper.
$api = new OpenFoodFacts\Api('food','fr-en',$log); $prd = $api->getProduct('3057640385148');
- Fork it ( https://github.com/openfoodfacts/openfoodfacts-php/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request