File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,33 @@ To get started, install the package using Composer:
3434composer require erag/laravel-pwa
3535```
3636
37+ ## Register the Service Provider
38+
39+ ### For Laravel (Optional) v11.x, v12.x
40+
41+ Ensure the service provider is registered in your ` /bootstrap/providers.php ` file:
42+
43+ ``` php
44+ use EragLaravelPwa\EragLaravelPwaServiceProvider;
45+
46+
47+ return [
48+ // ...
49+ EragLaravelPwaServiceProvider::class,
50+ ];
51+ ```
52+
53+ ### For Laravel v8.x, v9.x, v10.x
54+
55+ Ensure the service provider is registered in your ` config/app.php ` file:
56+
57+ ``` php
58+ 'providers' => [
59+ // ...
60+ EragLaravelPwa\EragLaravelPwaServiceProvider::class,
61+ ],
62+ ```
63+
3764Once installed, publish the PWA configuration files using:
3865
3966``` bash
You can’t perform that action at this time.
0 commit comments