Skip to content

Commit

Permalink
patch, minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdn committed Dec 4, 2023
1 parent fad4ae2 commit f5ee7ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -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).
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -21,6 +24,8 @@
},
"minimum-stability": "stable",
"autoload": {
"psr-4": { "Navitia\\Component\\": "" }
"psr-4": {
"Navitia\\Component\\": ""
}
}
}

0 comments on commit f5ee7ed

Please sign in to comment.