- What does nhanchaukp/filament-copyactions do?
- Filament Copy Actions is a lightweight Laravel Filament plugin that adds copy-to-clipboard actions to admin pages, tables, resources, and form fields. Users can copy cell values, row data, or custom text with one click, which speeds up admin workflows and reduces manual copying. It is an additive Filament integration, not a general-purpose Laravel utility.
- How do I install Filament Copy Actions in a Laravel application?
- Install it with Composer using composer require nhanchaukp/filament-copyactions. Because it is a Filament satellite package, Filament must already be installed or planned in the target application. Laravel package auto-discovery should register the service provider; check the README for any optional publish steps, then verify the panel boots.
- Which Laravel and Filament versions does this package support?
- The package is built for Filament admin panels within Laravel, and version 4.0.2 explicitly adds Filament 5.0 support. The technical evaluation flags uncertainty over whether composer.json now allows both Filament 4.x and 5.x or replaced the older constraint. Check composer.json directly and test against your exact Filament version, because Filament 5 has a stricter PHP and Laravel floor than Filament 4.x.
- Is Filament Copy Actions compatible with Filament 5?
- Version 4.0.2 exists specifically to add Filament 5.0 support, but it shipped as a patch release. That may mean a widened Composer constraint rather than a ground-up port. Verify it against your own Filament 5 install, check whether CI actually runs both Filament 4.x and 5.x, and review open issues tagged for Filament 5 before relying on it.
- How do I add a copy action to a Filament table column or form field?
- The package provides copy actions for Filament Admin Pages, Tables, and Form Fields. Typical usage is to attach a copy action to a table column, resource, or form field so users can copy the corresponding value or row data. Use the README for the exact API, and test the action in staging against your Filament version before deploying.
- Can I customize what text gets copied to the clipboard?
- Yes. The package description states that users can copy cell values, row data, or custom text. That means you can use custom text where the default cell value or row data is not the right payload. Confirm the exact configuration API in the README for your installed version.
- Is it safe to upgrade to 4.0.2 in production?
- Treat 4.0.2 as a breaking-capable release even though it is a patch, because a major platform support change shipped without a major version bump. Pin the exact version in use, upgrade Filament separately on a branch, confirm the panel boots, and run your tests before bumping this package. If you are on Filament 4.x, defer the 4.0.2 bump until the Filament 5.0 track is validated.
- Does Filament Copy Actions work without Filament?
- No. It is a Filament integration layer that extends the admin and panel framework rather than the Laravel application core. Its fit is strong when your admin surface is Filament-based and near-zero otherwise. Confirm that Filament is present or planned before evaluating the package further.
- What are alternatives to Filament Copy Actions?
- You can build a small custom Filament action using Alpine's clipboard utilities, or evaluate other Filament copy-to-clipboard plugins. The main comparison points are Filament version support, maintenance cadence, and whether the package's Composer constraints conflict with your application. For a single copy button, a custom action may be lower risk than adding another dependency.
- How is this package maintained, and what are the production risks?
- This is a single-maintainer package coupled to Filament's fast-moving major-version surface, so bus factor and release cadence matter. The key risks are a major platform support change shipped as a patch, unverified dual Filament 4.x and 5.x support, and abandonment during a Filament major transition. Check open issues, CI coverage for both Filament versions, and who will merge fixes when Filament 5.1 lands, then pin exact versions in production.