Skip to content

Commit 6c88e2a

Browse files
simonhampclaude
andcommitted
Add premium plugin installation docs to Using Plugins page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1f5aa62 commit 6c88e2a

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/docs/mobile/3/plugins/using-plugins.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,33 @@ composer require vendor/nativephp-plugin-name
1414
The plugin's PHP service provider will be auto-discovered by Laravel, but the native code won't be included in builds
1515
until you explicitly register it.
1616

17+
### Installing Premium Plugins
18+
19+
Premium plugins from the [NativePHP Plugin Marketplace](/plugins) are served via a private Composer repository.
20+
You'll need to configure Composer before you can install them.
21+
22+
**1. Add the NativePHP plugins repository:**
23+
24+
```shell
25+
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
26+
```
27+
28+
**2. Configure your credentials:**
29+
30+
```shell
31+
composer config http-basic.plugins.nativephp.com your-email@example.com your-license-key
32+
```
33+
34+
You can find your credentials on your [Purchased Plugins](/dashboard/purchased-plugins) dashboard.
35+
36+
**3. Install the plugin:**
37+
38+
Once configured, install premium plugins just like any other:
39+
40+
```shell
41+
composer require vendor/nativephp-premium-plugin
42+
```
43+
1744
## Register the Plugin
1845

1946
For security, plugins must be explicitly registered before their native code is compiled into your app. This prevents

0 commit comments

Comments
 (0)