Simple copy to clipboard button for Filament PHP
daikazu/filament-copy is a Laravel package for simple copy to clipboard button for filament php.
It currently has 0 GitHub stars and 3 downloads on Packagist (latest version v0.0.1-beta).
Install it with composer require daikazu/filament-copy.
Discover more Laravel packages by daikazu
or browse all Laravel packages to compare alternatives.
Last updated
A simple copy to clipboard button component for Filament PHP applications.
You can install the package via composer:
composer require daikazu/filament-copy
The package provides a simple copy to clipboard button that can be used in your Filament forms and tables.
use Daikazu\FilamentCopy\Components\CopyButton;
// In your Filament form or table
CopyButton::make('copy_button')
->content('Text to copy')
->label('Copy to Clipboard');
use Daikazu\FilamentCopy\Components\CopyButton;
CopyButton::make('copy_button')
->content(fn ($record) => $record->email)
->label('Copy Email')
->icon('heroicon-o-clipboard')
->color('success')
->size('sm')
->tooltip('Click to copy email address');
The package is designed to work out of the box, but you can publish the configuration file if you need to customize the default settings:
php artisan vendor:publish --tag="filament-copy-config"
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.