A Flarum extension. Let your users share posts via the native Web Share API.
Install with composer:
composer require davwheat/flarum-ext-share:"*"
composer update davwheat/flarum-ext-share:"*"
php flarum migrate
php flarum cache:clear
⚠️ The share buttons will only be shown on browsers which support the Web Share API. To check compatibility, head to caniuse.com.
Head to your admin dashboard to choose between 3 positions for the Share button: