Download the PHP package zpmlabs/filament-popup without Composer

On this page you can find all versions of the php package zpmlabs/filament-popup. 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-popup

FilamentPopup

Filament Popup

A Filament 5 plugin for rendering Livewire-powered popups from table columns.

The package is designed for quick previews and inline interactions on table cells:

How It Works

The table cell only stores popup metadata. JavaScript handles browser events and sends an open event to one global Livewire popup host. The host loads the Eloquent record, renders the popup content, manages form state, validates forms, saves data, and refreshes the page table.

This is important because Filament forms, actions, and tables need a real Livewire render cycle. The package does not put rendered HTML into data-* attributes.

Installation

Install with Composer:

The service provider registers the column macros, assets, Livewire component, and a Filament BODY_END render hook for the global popup host.

If package auto-discovery is disabled, register the provider manually:

Publish the config if you want to change defaults:

If your panel theme uses Tailwind source scanning, include the package views:

Then publish Filament assets:

Column API

Use popup() on any Filament table column:

Fluent helpers are also available:

Options

Supported options:

Shared Example Table

The examples use a normal users table with four trigger styles:

Array Popups

Arrays are useful for simple read-only previews:

Closures are resolved when the table cell metadata is rendered. They should return static array content.

Infolist / Schema Popups

For Filament schema or infolist content, create a class with a static make() method:

Then use it:

Form Popups

Form popups should also use a static make() method. The important part is statePath('popupFormData'), because the popup host stores form state there.

Use string Livewire handlers for form actions:

Do not use closure actions for the popup save/cancel buttons. Popup content is rendered dynamically by the popup host, so string handlers are the simplest way to render buttons with direct wire:click handlers. The host save() method validates the popup schema before updating the record, then dispatches refresh events so the page table updates.

You do not need ->livewireSubmitHandler('save') when using action buttons with ->action('save'). Add it only if you intentionally use a submit button that relies on the form submit event.

Blade View Popups

Pass a Blade view name:

The view receives:

Blade Component Popups

Pass a Blade component class:

The component is constructed with named arguments:

Table Popups

Table popup classes use a static configure() method:

Then use:

For custom array data, make sure every row has a stable key. Filament adds one when using keyed arrays like the example above.

Example Resource

The package includes a ready-to-register UserResource for testing all formats against App\Models\User.

Register it in your panel provider:

The example routes are:

Configuration

The config key is filament-popup:

Troubleshooting

If the popup JavaScript changes are not visible, run:

If Tailwind classes in package views are missing, add the package view source path to your panel theme CSS and rebuild your frontend assets.

If a form button renders but does not do anything, check that it uses a string Livewire handler such as ->action('save') or ->action('close'), not a closure.

If a table popup shows "no data", ensure the table class returns records with stable keys and that it is passed as a class string with configure(Table $table, mixed $record): Table.

Current Scope

Supported content:

Not supported yet:


All versions of filament-popup with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ~5.0
laravel/framework Version ^13.0
livewire/livewire Version ^4.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 zpmlabs/filament-popup contains the following files

Loading the files please wait ...