PHPackages                             wszdb/flarum-shareurl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wszdb/flarum-shareurl

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

wszdb/flarum-shareurl
=====================

A Flarum plugin that adds external link warning and one-click copy link functionality

v0.1(8mo ago)1109[1 issues](https://github.com/wszdb/flarum-shareurl/issues)MITJavaScript

Since Oct 26Pushed 8mo agoCompare

[ Source](https://github.com/wszdb/flarum-shareurl)[ Packagist](https://packagist.org/packages/wszdb/flarum-shareurl)[ RSS](/packages/wszdb-flarum-shareurl/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

English | [简体中文](README.zh-CN.md)

Flarum ShareURL Plugin
======================

[](#flarum-shareurl-plugin)

A Flarum plugin that adds external link warning and one-click copy link functionality to enhance forum security and user experience.

Features
--------

[](#features)

- 🔗 **External Link Warning**: When users click on external links, a modal warning will appear to alert them about potential risks. Users can choose to proceed or cancel.
- ⚙️ **Admin Configurable Warning Text**: Administrators can customize the warning message displayed to users.
- 📝 **Whitelist Keywords**: Set up comma-separated keywords for external links that should bypass the warning (e.g., trusted domains).
- 📋 **One-Click Copy Link**: Adds a "Copy and Share" button to discussion pages, allowing users to quickly copy the post title and URL.
- 🔧 **Admin Toggle**: Enable or disable copy link functionality through the admin panel.
- 🌐 **Multilingual Support**: Full support for both English and Chinese languages.

Installation
------------

[](#installation)

1. Install the plugin via Composer:

```
composer require wszdb/flarum-shareurl
```

2. Enable the plugin in the Flarum admin panel.
3. Configure the settings in the admin panel:

    - Set your custom warning text
    - Add whitelist keywords (comma-separated)
    - Enable/disable copy link button

Usage
-----

[](#usage)

### For Users

[](#for-users)

- **External Links**: When clicking on external links, you'll see a security reminder. Click "Confirm" to proceed or "Cancel" to stay on the current page.
- **Copy Link**: In discussion pages, click the "Copy and Share" button in the sidebar to copy the post title and URL to your clipboard.

### For Administrators

[](#for-administrators)

1. Go to **Admin Panel → Extensions → ShareURL → Settings**
2. Configure the following options:
    - **Warning Text**: Customize the message shown to users when they click external links
    - **Whitelist Keywords**: Add trusted domains or keywords (comma-separated) that won't trigger the warning
    - **Enable Copy Link Button**: Toggle the visibility of the copy link button

Screenshots
-----------

[](#screenshots)

*Coming soon...*

Requirements
------------

[](#requirements)

- Flarum 1.0 or higher
- PHP 7.4 or higher
- Composer

License
-------

[](#license)

MIT License

Support
-------

[](#support)

- 📧 **Issues**: Report bugs and request features on [GitHub Issues](https://github.com/wszdb/flarum-shareurl/issues)
- 💬 **Discussions**: Join our community discussions on [GitHub Discussions](https://github.com/wszdb/flarum-shareurl/discussions)

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Author
------

[](#author)

Developed by [wszdb](https://github.com/wszdb)

---

This plugin was automatically developed using [AiPy](https://www.aipyaipy.com/).

Code: XOFS

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance40

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

252d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/202256400?v=4)[wszdb](/maintainers/wszdb)[@wszdb](https://github.com/wszdb)

---

Top Contributors

[![wszdb](https://avatars.githubusercontent.com/u/202256400?v=4)](https://github.com/wszdb "wszdb (2 commits)")

---

Tags

linkcopyextensionflarumwarning

### Embed Badge

![Health badge](/badges/wszdb-flarum-shareurl/health.svg)

```
[![Health](https://phpackages.com/badges/wszdb-flarum-shareurl/health.svg)](https://phpackages.com/packages/wszdb-flarum-shareurl)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1938.7k](/packages/flarum-lang-french)[fof/masquerade

User profile builder extension for your Flarum forum.

2025.4k5](/packages/fof-masquerade)[fof/sitemap

Generate a sitemap

1899.7k2](/packages/fof-sitemap)[flarum/gdpr

Features for GDPR, PII management

1338.8k22](/packages/flarum-gdpr)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1034.8k4](/packages/fof-discussion-language)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
