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
Use the Import Button on the plugin list to upload & install a plugin.
17
+
Use the Import button on the plugin list to upload a plugin. After the import is done, use the Install button to complete the installation.
18
+
19
+
Plugin installs run in the background so it might take a few seconds. If a plugin isn't installing [check your queue worker configuration](../../troubleshooting#schedules-not-running).
18
20
</TabItem>
19
21
<TabItemvalue="manually"label="Manually">
20
22
Move the plugin folder to `plugins` inside your panel directory (`/var/www/pelican/plugins` by default). Then run `php artisan p:plugin:install` inside your panel directory and select the new plugin.
21
23
</TabItem>
22
24
</Tabs>
23
25
24
26
<Admonitiontype="info"title="Need some plugins?">
25
-
Check out our [Plugins repo](https://github.com/pelican-dev/plugins)! It contains free and open source plugins created by the Pelican team and the community.
26
-
We are also working on adding a plugin marketplace to the [Hub](https://hub.pelican.dev).
27
+
You can find various offical and third party plugins on the [Hub plugin marketplace](https://hub.pelican.dev/plugins)!
28
+
Also check out our [Plugins repo](https://github.com/pelican-dev/plugins)! It contains free and open source plugins created by the Pelican team.
27
29
</Admonition>
28
30
31
+
## Update a Plugin
32
+
33
+
For one-click updates to work the plugin needs to have a [update url](#update-url) set. Otherwise you need to manually update the plugin files.
The panel will automatically check for plugins updates when visiting the plugin list. If an update is available you can use the Update button to download and install the update.
38
+
39
+
Plugin updates run in the background so it might take a few seconds. If a plugin isn't updating [check your queue worker configuration](../../troubleshooting#schedules-not-running).
40
+
</TabItem>
41
+
<TabItemvalue="manually"label="Manually">
42
+
Run `php artisan p:plugin:uninstall` inside your panel directory (`/var/www/pelican` by default) and select the plugin you want to uninstall.
Plugin uninstalls run in the background so it might take a few seconds. If a plugin isn't uninstalling [check your queue worker configuration](../../troubleshooting#schedules-not-running).
53
+
</TabItem>
54
+
<TabItemvalue="manually"label="Manually">
55
+
Run `php artisan p:plugin:update` inside your panel directory (`/var/www/pelican` by default) and select the plugin you want to update.
56
+
</TabItem>
57
+
</Tabs>
58
+
29
59
## Create a Plugin
30
60
31
61
<Admonitiontype="danger">
@@ -238,22 +268,25 @@ class MyPluginRoutesProvider extends RouteServiceProvider
238
268
### Plugin Settings
239
269
240
270
Your main plugin class can implement the `HasPluginSettings` interface to conveniently add a settings page to your plugin.
241
-
The settings page can be accessed on the plugin list on the panel. Your plugin needs to provide the form and how the data should be saved.
271
+
The settings page can be accessed on the plugin list on the panel. Your plugin needs to provide the form, the form data and how the data should be saved.
242
272
243
273
If you want to save the settings in the `.env` file you can use the `EnvironmentWriterTrait`. Example:
@@ -363,8 +396,8 @@ To publish a plugin you only need to do two things:
363
396
And that's it! Now you can take the zip file and share it with the world!
364
397
365
398
<Admonitiontype="info"title="Marketplace">
366
-
We are currently working on adding a plugin marketplace to the [Hub](https://hub.pelican.dev).
367
-
Until then you can publish your plugins on our [plugins repo](https://github.com/pelican-dev/plugins). You can also share them in the `#plugins` channel in our [Discord](https://discord.gg/pelican-panel).
399
+
Publish your plugins on the [Hub plugin marketplcae](https://hub.pelican.dev/plugins)! This will allow users to easily install or download your plugin.
400
+
You can also share them in the `#share-plugins` channel in our [Discord](https://discord.gg/pelican-panel).
0 commit comments