Skip to content

Commit 03d28c8

Browse files
Update README to reflect removal of DotEnv dependency
1 parent 23c4d7b commit 03d28c8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,13 @@ A php library for interacting with AutopilotHQ API http://docs.autopilot.apiary.
88
$ composer require picr/php-autopilothq
99
```
1010

11-
Create an `.env` file
12-
```env
13-
AUTOPILOT_SECRET=your-secret-key
14-
```
15-
1611
## Usage
1712
---
1813
All interaction occurs in the `AutopilotManager` class.
1914

2015
### initialize manager
2116
```php
22-
// NOTE: AUTOPILOT_SECRET must be defined in .env file
23-
// NOTE: if AUTOPILOT_HOST is not defined in .env file, will use 'https://api2.autopilothq.com/v1/'
24-
$manager = new AutopilotManager();
17+
$manager = new AutopilotManager($apiKey);
2518
```
2619

2720
### getContact

0 commit comments

Comments
 (0)