diff --git a/package-lock.json b/package-lock.json index 135b7064..1064607a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "brave-lemur", + "name": "ancient-ox", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/resources/views/components/customer/plugin-credentials.blade.php b/resources/views/components/customer/plugin-credentials.blade.php index 2a913656..ca5f3973 100644 --- a/resources/views/components/customer/plugin-credentials.blade.php +++ b/resources/views/components/customer/plugin-credentials.blade.php @@ -25,11 +25,13 @@ 2. Configure your credentials: @@ -39,11 +41,13 @@ class="shrink-0 self-stretch bg-zinc-900 px-3 text-zinc-400 hover:bg-zinc-800 ho diff --git a/resources/views/docs/mobile/1/concepts/push-notifications.md b/resources/views/docs/mobile/1/concepts/push-notifications.md index 8680ce05..f4ef29f0 100644 --- a/resources/views/docs/mobile/1/concepts/push-notifications.md +++ b/resources/views/docs/mobile/1/concepts/push-notifications.md @@ -88,6 +88,13 @@ user's device. + + diff --git a/resources/views/docs/mobile/2/concepts/push-notifications.md b/resources/views/docs/mobile/2/concepts/push-notifications.md index 024ad509..3894a7fe 100644 --- a/resources/views/docs/mobile/2/concepts/push-notifications.md +++ b/resources/views/docs/mobile/2/concepts/push-notifications.md @@ -88,6 +88,13 @@ user's device. + + diff --git a/resources/views/docs/mobile/3/concepts/push-notifications.md b/resources/views/docs/mobile/3/concepts/push-notifications.md index 024ad509..3894a7fe 100644 --- a/resources/views/docs/mobile/3/concepts/push-notifications.md +++ b/resources/views/docs/mobile/3/concepts/push-notifications.md @@ -88,6 +88,13 @@ user's device. + + diff --git a/resources/views/docs/mobile/3/plugins/using-plugins.md b/resources/views/docs/mobile/3/plugins/using-plugins.md index ed9b1d0e..abe0c2fc 100644 --- a/resources/views/docs/mobile/3/plugins/using-plugins.md +++ b/resources/views/docs/mobile/3/plugins/using-plugins.md @@ -14,6 +14,33 @@ composer require vendor/nativephp-plugin-name The plugin's PHP service provider will be auto-discovered by Laravel, but the native code won't be included in builds until you explicitly register it. +### Installing Premium Plugins + +Premium plugins from the [NativePHP Plugin Marketplace](/plugins) are served via a private Composer repository. +You'll need to configure Composer before you can install them. + +**1. Add the NativePHP plugins repository:** + +```shell +composer config repositories.nativephp-plugins composer https://plugins.nativephp.com +``` + +**2. Configure your credentials:** + +```shell +composer config http-basic.plugins.nativephp.com your-email@example.com your-license-key +``` + +You can find your credentials on your [Purchased Plugins](/dashboard/purchased-plugins) dashboard. + +**3. Install the plugin:** + +Once configured, install premium plugins just like any other: + +```shell +composer require vendor/nativephp-premium-plugin +``` + ## Register the Plugin For security, plugins must be explicitly registered before their native code is compiled into your app. This prevents diff --git a/resources/views/plugin-show.blade.php b/resources/views/plugin-show.blade.php index 6dbe932e..4aca1483 100644 --- a/resources/views/plugin-show.blade.php +++ b/resources/views/plugin-show.blade.php @@ -105,6 +105,73 @@ class="font-mono text-2xl font-bold sm:text-3xl" @endif + @if ($plugin->isPaid()) + + @endif +