Skip to content

Commit

Permalink
Updated the Installation section of the readmes (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
silviaherguedas authored Nov 21, 2022
1 parent 08e5212 commit 0999eca
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [7.0.3] - 2022-11-21
### Changed
- Updated the "Installation & Usage" section of the readmes

## [7.0.2] - 2022-11-08
### Changed
- Documentation update
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder/php-doofinder",
"version": "7.0.2",
"version": "7.0.3",
"type": "library",
"description": "Doofinder PHP API Client",
"keywords": [
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/Management/README_MANAGEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ require_once dirname(__FILE__)."/vendor/autoload.php";

use \Doofinder\Management\ManagementClient;

$client = new ManagementClient(HASHID, API_KEY, USER_ID);
const HOST = 'https://eu1-api.doofinder.com';
const API_KEY = 'your_api_token';
const USER_ID = 'your_user_id';

$managementClient = ManagementClient::create(HOST, API_KEY, USER_ID);
```

### Manual Installation
Expand Down
5 changes: 4 additions & 1 deletion src/Search/README_SEARCH.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ require_once dirname(__FILE__)."/vendor/autoload.php";

use \Doofinder\Search\SearchClient;

$client = new SearchClient(HASHID, API_KEY);
const HOST = 'https://eu1-search.doofinder.com';
const API_KEY = 'your_api_token';

$searchClient = SearchClient::create(HOST, API_KEY);
```

### Manual Installation
Expand Down

0 comments on commit 0999eca

Please sign in to comment.