We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23c4d7b commit 03d28c8Copy full SHA for 03d28c8
README.md
@@ -8,20 +8,13 @@ A php library for interacting with AutopilotHQ API http://docs.autopilot.apiary.
8
$ composer require picr/php-autopilothq
9
```
10
11
-Create an `.env` file
12
-```env
13
-AUTOPILOT_SECRET=your-secret-key
14
-```
15
-
16
## Usage
17
---
18
All interaction occurs in the `AutopilotManager` class.
19
20
### initialize manager
21
```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();
+$manager = new AutopilotManager($apiKey);
25
26
27
### getContact
0 commit comments