Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📖 [Patch] minor doc update #42

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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\\": ""
}
}
}
Loading