From f5ee7ede6bf8d06ebd9fa18e117af41ca30227b9 Mon Sep 17 00:00:00 2001 From: dvdn Date: Mon, 4 Dec 2023 10:22:10 +0100 Subject: [PATCH] patch, minor doc update --- README.md | 16 ++++++++-------- composer.json | 9 +++++++-- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 97fd02d..0e547f0 100644 --- a/README.md +++ b/README.md @@ -18,18 +18,23 @@ and controls query parameters. - NavitiaComponent v2.x.x compatible with frameworks like Symfony4 -- NavitiaComponent v3.x.x compatible with modern frameworks like Symfony5.4, with old firm name CanalTP +- NavitiaComponent v3.0.0 compatible with modern frameworks like Symfony5.4, with old firm name CanalTP - NavitiaComponent v3.1.x compatible with modern frameworks like Symfony5.4, with present firm name Hove -This documentation is for NavitiaComponent 2.x.x + ## Installation Using composer: + composer require "hove/navitia":"^3.1" + + +example for previous versions (before v3.1.x, deprecated) + composer require "canaltp/navitia":"~2.0" @@ -73,7 +78,7 @@ class Navitia // Configuration $config = array( 'url' => 'api.navitia.io', - 'token' => '3b036afe-0110-4202-b9ed-99718476c2e0', // This token has an access to sandbox data + 'token' => '3b036afe-4242-abcd-4242-99718476c2e0', // Example of token ); $this->navitiacomponent->setConfiguration($config); } @@ -242,11 +247,6 @@ For this part, you should use docker (need install) and launch it with : make all_tests_dev ``` - -## Contributing - -[View all contributors](https://github.com/CanalTP/NavitiaComponent/graphs/contributors) - ## License The library is under [MIT](LICENSE). diff --git a/composer.json b/composer.json index e4c6fa3..b255972 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,10 @@ { "name": "hove/navitia", "type": "library", - "description": "Navitia Component", + "description": "A library to interract with Navitia Api (https://api.navitia.io)", + "support": { + "issues": "https://github.com/hove-io/NavitiaComponent/issues" + }, "license": "MIT", "require": { "php": ">=8.0.2", @@ -21,6 +24,8 @@ }, "minimum-stability": "stable", "autoload": { - "psr-4": { "Navitia\\Component\\": "" } + "psr-4": { + "Navitia\\Component\\": "" + } } }