PHPackages                             novius/laravel-filament-action-preview - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. novius/laravel-filament-action-preview

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

novius/laravel-filament-action-preview
======================================

A Laravel Filament action for open front preview

1.0.1(1mo ago)2923↓74.7%2AGPL-3.0-or-laterPHPPHP &gt;=8.2CI passing

Since Oct 1Pushed 1mo agoCompare

[ Source](https://github.com/novius/laravel-filament-action-preview)[ Packagist](https://packagist.org/packages/novius/laravel-filament-action-preview)[ RSS](/packages/novius-laravel-filament-action-preview/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (11)Versions (4)Used By (2)

Laravel Filament Action Preview
===============================

[](#laravel-filament-action-preview)

[![Packagist Release](https://camo.githubusercontent.com/0ad343e8db0f0e418d6c94f3de8b8f12b0c446e37770e9531778332c06189f53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f766975732f6c61726176656c2d66696c616d656e742d616374696f6e2d707265766965772e7376673f6d61784167653d31383030267374796c653d666c61742d737175617265)](https://packagist.org/packages/novius/laravel-publishable)[![License: AGPL v3](https://camo.githubusercontent.com/c61341f63648cdd5aba4f7a073b513106a63778c27b15f96c56157642bc943b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4147504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/agpl-3.0)

Introduction
------------

[](#introduction)

This package allows you to add [Laravel Filament](https://filamentphp.com/) action to open the front preview url of a ressource.

Requirements
------------

[](#requirements)

- Laravel Filament &gt;= 4
- Laravel &gt;= 11.0
- Laravel &gt;= 8.2

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require novius/laravel-filament-action-preview
```

Usage
-----

[](#usage)

This package provides the following action:

- `\Novius\LaravelFilamentActionPreview\Filament\Actions\PreviewAction`

### If the model have a `previewUrl` method :

[](#if-the-model-have-a-previewurl-method-)

```
use Filament\Resources\Resource;
use Novius\LaravelFilamentActionPreview\Filament\Actions\PreviewAction;

class Post extends Resource
{
    public static function table(Table $table): Table
    {
        return $table
            ->actions([
                PreviewAction::make(),
            ]);
    }
```

### Otherwise, you must specify the preview url :

[](#otherwise-you-must-specify-the-preview-url-)

```
use App\Models\Post as PostModel;
use Filament\Resources\Resource;
use Novius\LaravelFilamentActionPreview\Filament\Actions\PreviewAction;

class Post extends Resource
{
    public static function table(Table $table): Table
    {
        return $table
            ->actions([
                PreviewAction::make()
                    ->using(function(PostModel $record) {
                        return route('post.preview', ['post' => $record]);
                    }),
            ]);
    }
```

Lang files
----------

[](#lang-files)

If you want to customize the lang files, you can publish them with:

```
php artisan vendor:publish --provider="Novius\LaravelFilamentActionPreview\LaravelFilamentActionPreviewServiceProvider" --tag="lang"
```

Lint
----

[](#lint)

Lint your code with Laravel Pint using:

```
composer run-script lint
```

Licence
-------

[](#licence)

This package is under [GNU Affero General Public License v3](http://www.gnu.org/licenses/agpl-3.0.html) or (at your option) any later version.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~82 days

Total

2

Last Release

53d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/341860?v=4)[Novius](/maintainers/novius)[@novius](https://github.com/novius)

---

Top Contributors

[![felixgilles](https://avatars.githubusercontent.com/u/900854?v=4)](https://github.com/felixgilles "felixgilles (11 commits)")

---

Tags

urllaravelpreviewfilament

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/novius-laravel-filament-action-preview/health.svg)

```
[![Health](https://phpackages.com/badges/novius-laravel-filament-action-preview/health.svg)](https://phpackages.com/packages/novius-laravel-filament-action-preview)
```

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3991.8k](/packages/codewithdennis-larament)[ercogx/laravel-filament-starter-kit

This is a Filament v5 Starter Kit for Laravel 13, designed to accelerate the development of Filament-powered applications.

461.7k](/packages/ercogx-laravel-filament-starter-kit)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

592.7k2](/packages/crumbls-layup)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
