Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saadj55/filament-copyable
Copyable Text Column and Field for Filament PHP.
https://github.com/saadj55/filament-copyable
columns filamentphp laravel livewire php
Last synced: 29 days ago
JSON representation
Copyable Text Column and Field for Filament PHP.
- Host: GitHub
- URL: https://github.com/saadj55/filament-copyable
- Owner: saadj55
- License: mit
- Created: 2022-07-11T07:22:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T05:51:08.000Z (over 1 year ago)
- Last Synced: 2024-10-01T09:19:21.147Z (about 1 month ago)
- Topics: columns, filamentphp, laravel, livewire, php
- Language: Blade
- Homepage:
- Size: 47.9 KB
- Stars: 35
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-filament - saadj55/filament-copyable - Copyable Text Column and Field for Filament PHP. (Fields)
README
# Filament Copyable
Copyable Text Column and Field for Filament PHP.
![Screenshot of Login](./filament-copyable-column.PNG)
![Screenshot of Login](./copyable-text-field.PNG)## Installation
You can install the package via composer:
```bash
composer require saadj55/filament-copyable
```
## Usage
### Column
In in your Table Schema:```php
\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](https://heroicons.com/) by using the `->icon('heroicon-o-duplicate')` method.
### Field
```php
\Saadj55\FilamentCopyable\Forms\Components\CopyableTextInput::make('name')
```
## LicenseThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.