Skip to content

Commit e2b6ba5

Browse files
committed
Add .env file
1 parent 5edeb0b commit e2b6ba5

File tree

7 files changed

+490
-10
lines changed

7 files changed

+490
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/vendor/
22
/examples/looker_access_token.txt
33
/.phpunit.result.cache
4+
/examples/.env

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ require_once('/path/to/looker-php-sdk-advanced/vendor/autoload.php');
2929

3030
## Getting Started
3131

32-
See usage examples in the [**examples**](examples) folder.
32+
See usage examples in the [**examples**](examples) folder. These examples use Looker credentials
33+
from the `.env` file, you can create it by copying `.env.example` file.
3334

3435
### Basic example
3536
In order to start interacting with the API you just need to instantiate Looker object and provide a

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"alexkart/looker-php-sdk": "^0.1.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^9.5"
23+
"phpunit/phpunit": "^9.5",
24+
"vlucas/phpdotenv": "^5.4"
2425
}
2526
}

0 commit comments

Comments
 (0)