Download the PHP package webbingbrasil/filament-copyactions without Composer

On this page you can find all versions of the php package webbingbrasil/filament-copyactions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-copyactions

Filament Copy Actions

Note For Filament 2.x use 2.x branch

An easy-to-use copy actions for Filament Admin

Note The copy will only work if the user browser supports Clipboard API. Also, the user must be on a secure context (HTTPS) or localhost.

Installation

Usage

Table Column

Display a table text column with a copy button, the column has all features of the TextColumn and the copy action sends column content to the clipboard and displays a success tooltip.

The column has an option to display a description above or below the text, by default this description is not copied, if you want to copy the description too, use the copyWithDescription method.

Success message

You can customize the success message with the copyMessage method, the default message is Copied!.

Icon Position and Color

You can customize the icon with the icon, iconPosition and iconColor methods.

Only Display Copy Icon

You can display the column hidding the text content and only showing the copy icon:

Table Action

Display a table action button, you set the content using the copyable method. You can customize the button icon/color using the same methods of the Filament Action.

Success message

The action will display a copy status, you can customize the success message with the successNotificationMessage method or the error message with the errorNotificationMessage method.

Form Action

Use the CopyAction in your field suffix or prefix if you want to copy a field value. You can customize the button icon/color using the same methods of the Filament Action.

You can use this form action in any filament field, the action will copy the field value to the clipboard by default, but you can customize the value with the copyable method.

Success message

The action will display a copy status, you can customize the success message with the successNotificationMessage method or the error message with the errorNotificationMessage method.

Page Action

You can add CopyAction button to any page in filament, just put the action in the actions method of the page. You can customize the button icon/color using the same methods of the Filament Action.

The action will display a copy status, you can customize the success message with the successNotificationMessage method or the error message with the errorNotificationMessage method.

CopyAction Tip

By default, CopyAction does not trigger a livewire request, so it only returns the value defined in the copyable method during page rendering.

However, if it is necessary for the copied value to be dynamic at each action trigger, you can use the action() method.

You can use this technique in actions for form, pages, or tables.

Credits


All versions of filament-copyactions with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
filament/filament Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package webbingbrasil/filament-copyactions contains the following files

Loading the files please wait ....