PHPackages                             elephpant/taco - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. elephpant/taco

ActiveLibrary[API Development](/categories/api)

elephpant/taco
==============

Brazilian Table of Food Composition (TACO) API (v0.1.0)

1.0.1(5y ago)24MITPHPPHP ^7.1

Since Oct 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sergiodanilojr/taco)[ Packagist](https://packagist.org/packages/elephpant/taco)[ Docs](https://www.sergiodanilojr.com.br)[ RSS](/packages/elephpant-taco/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

TACO @ElePHPant
===============

[](#taco-elephpant)

[![Maintainer](https://camo.githubusercontent.com/7b1d28a2036b608f54a554b494e6678bbe1d58bc90f33baeb9c8ae3af0590b57/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4073657267696f64616e696c6f6a722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/sergiodanilojr)[![Source Code](https://camo.githubusercontent.com/5aa1d613ac3395293a5b968eed01a32ec636e1d55d197b6cc0f74fe53d4dcdb7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d656c65706870616e742f7461636f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/taco)[![PHP from Packagist](https://camo.githubusercontent.com/733dcacbced5ee01564ac081b97ebbe9a0a6c9ca1a7537dd9a0152204c26541d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656c65706870616e742f7461636f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/taco)[![Latest Version](https://camo.githubusercontent.com/6bb33f5947ff63251401448a611281bc3d2ad4b3bc73f45db823eb93a8148eb2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f656c65706870616e742f7461636f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/taco/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/e1abe1f0c16342a519213ce09d98d9d28b7a91ea2b1df1d6395d8b502827c245/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f73657267696f64616e696c6f6a722f7461636f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/taco)[![Quality Score](https://camo.githubusercontent.com/c9e19652ca7fcb08ffbcd5ed649fe95a49f318000df1ec1c9686da981192f53c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73657267696f64616e696c6f6a722f7461636f2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/taco)[![Total Downloads](https://camo.githubusercontent.com/ddca6ab9eb24c9ee8bb32f9fb7d7d0d2ba9142c273b96b37b54ad6a5790e9efc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c65706870616e742f7461636f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/taco)

With TACO it is possible to obtain nutritional data from a wide collection of foods through the API of the same name. Its use is very simple.

Com o TACO é possível obter dados nutricionais de uma vasta coleção de alimentos através da API de mesmo nome. Seu uso é muito simples.

NOTE: This component consumes the TACO API (Brazilian Food Composition Table) ()
---------------------------------------------------------------------------------------------------------------------

[](#note-this-component-consumes-the-taco-api-brazilian-food-composition-table-httpstaco-food-apiherokuappcom)

NOTA: Este componente consome a API TACO (Tabela Brasileira de Composição de Alimentos) ()

### Highlights

[](#highlights)

- Extremaly Easy
- Supports several Currencies
- Flexible
- Implements PSR7 (Message Interface)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

Installation
------------

[](#installation)

taco is available via Composer:

```
"elephpant/taco": "1.0.*"
```

or run

```
composer require elephpant/taco
```

Documentation
-------------

[](#documentation)

###### For details on how to use, see a sample folder in the component directory. In it you will have an example of use for each class. It works like this:

[](#for-details-on-how-to-use-see-a-sample-folder-in-the-component-directory-in-it-you-will-have-an-example-of-use-for-each-class-it-works-like-this)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso para cada classe. Ele funciona assim:

#### Methods

[](#methods)

```
