Skip to content

saadj55/filament-copyable

Repository files navigation

Filament Copyable

Copyable Text Column and Field for Filament PHP.

Screenshot of Login Screenshot of Login

Installation

You can install the package via composer:

composer require saadj55/filament-copyable

Usage

Column

In in your Table Schema:

\Saadj55\FilamentCopyable\Tables\Columns\CopyableTextColumn::make('name')

You can make the icon to only appear on hover with the ->showOnHover() method,

You can set a custom heroicon by using the ->icon('heroicon-o-duplicate') method.

Field

\Saadj55\FilamentCopyable\Forms\Components\CopyableTextInput::make('name')

License

The MIT License (MIT). Please see License File for more information.