From c0027222a88bbe225a9c8c321e0469092df98384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Moreno=20P=C3=A9rez?= Date: Sun, 19 Jun 2016 12:32:14 -0400 Subject: [PATCH] first commit --- .gitignore | 16 ++++++++++++++++ CHANGELOG.md | 3 +++ CONTRIBUTING.md | 7 +++++++ README.md | 8 ++++++++ composer.json | 28 ++++++++++++++++++++++++++++ doc/home.md | 1 + 6 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md create mode 100644 composer.json create mode 100644 doc/home.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..556cd5324c --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +# Created by .ignore support plugin (hsz.mobi) +### Example user template template +### Example user template + +# IntelliJ project files +.idea +*.iml +out +gen### Composer template +composer.phar +/vendor/ + +# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file +# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file +# composer.lock + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..2156042c0c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +## 0.0.1 (June 19, 2016) ## + +* Upload project struct \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..f7cbf08930 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,7 @@ +## Contributing + +1. Fork it ( https://github.com/openfoodfacts/openfoodfacts-php/fork ) +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 \ No newline at end of file diff --git a/README.md b/README.md index 93742f76f1..e6eb7c73ad 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # openfoodfacts-php PHP wrapper for Open Food Facts + +## Installation + +With Composer: + +```bash +composer requiere openfoodfacts/php-client +``` \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000000..182c8c0512 --- /dev/null +++ b/composer.json @@ -0,0 +1,28 @@ +{ + "name": "openfoodfacts/php-client", + "description": "Open Food Facts API Wrapper, the open database about food.", + "homepage": "http://world.openfoodfacts.org/", + "type": "library", + "minimum-stability": "stable", + "license": "MIT", + "version": "0.0.1", + "support": { + "email": "rmorenp@rampamster.org", + "issues": "https://github.com/openfoodfacts/openfoodfacts-php/issues", + "irc": "http://slack.openfoodfacts.org/", + "source": "https://github.com/openfoodfacts/openfoodfacts-php" + }, + "authors": [ + { + "name": "Roberto Moreno", + "email": "rmorenp@rampmaster.org", + "homepage": "http://www.rampmaster.org", + "role": "Wrapper Developer" + } + ], + "autoload": { + "psr-4": { + "OFF\\": "src/" + } + } +} \ No newline at end of file diff --git a/doc/home.md b/doc/home.md new file mode 100644 index 0000000000..30404ce4c5 --- /dev/null +++ b/doc/home.md @@ -0,0 +1 @@ +TODO \ No newline at end of file