You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### If within a Laravel Application with Laravel Discovery turned on
24
-
The package will automatically register the `SteerConnector` class as a singleton. You can then use the `SteerConnector` class as a dependency in your classes.
25
24
You will need to add the following to your `.env` file:
26
25
```dotenv
27
26
STEER_API_KEY=
28
27
STEER_SUBSCRIPTION_KEY=
29
28
STEER_BASE_URL=
30
29
```
31
30
The config file is publishable, but you shouldn't need to change anything.
31
+
#### Dependency Injection
32
+
The package will automatically register the `SteerConnector` class as a singleton. You can then use the `SteerConnector` class as a dependency in your classes.
33
+
#### Facade
34
+
There is a facade that goes with the package if that's how you choose to work. Example:
0 commit comments