File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,40 @@ return [
158158
159159And that should get you off and running with Stream-Laravel. Have lots of fun!
160160
161+ ### Lumen Installation
162+
163+ Begin by installing this package through Composer.
164+
165+ ```
166+ composer require get-stream/stream-laravel
167+ ```
168+
169+ Add ` 'GetStream\StreamLaravel\StreamLumenServiceProvider' ` to the list of providers in ` bootstrap/app.php `
170+
171+ ``` php
172+ $app->register(\GetStream\StreamLaravel\StreamLumenServiceProvider::class);
173+ ```
174+
175+ Manually create a config file in ./config/stream-laravel.php...
176+
177+ ``` php
178+ <?php
179+
180+ return [
181+ 'api_key' => 'API_KEY',
182+ 'api_secret' => 'API_SECRET',
183+ 'api_app_id' => 'API_APP_ID',
184+ 'location' => 'us-east',
185+ 'timeout' => 3,
186+ ];
187+ ```
188+
189+ and tell Lumen to configure it, in bootstrap.
190+
191+ ``` php
192+ $app->configure('stream-laravel');
193+ ```
194+
161195# Features of Stream-Laravel
162196
163197## Eloquent Integration
You can’t perform that action at this time.
0 commit comments