Download the PHP package happenv-com/filament-saved-views without Composer

On this page you can find all versions of the php package happenv-com/filament-saved-views. 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-saved-views

Filament Saved Views

![Filament Saved Views](art/banner.png)

Latest Version Tests PHPStan Quality Total Downloads License

Reusable, per-user saved views for Filament list tables. Let users capture the current table state (filters, search, sort, grouping, per-page and toggled columns) as a named view, then reopen it in one click — with a management UI styled to match Filament's own column manager.

The package is framework-agnostic: it ships an auto-increment-keyed model and binds everything through the service container, so a host application can swap in its own model (e.g. UUID keys, multi-tenant) without touching the package.

Key features

Requirements

Package Versions
PHP 8.3 – 8.5
Laravel 11, 12, 13 (CI runs 12 and 13)
Filament 4 (^4.11.2), 5 (^5.6.2)
Livewire 3, 4

Installation

Install the package via Composer:

Publish and run the migration that creates the saved_views table:

Publish the package assets (registers the manager stylesheet):

[!IMPORTANT] If you have not set up a custom theme and are using Filament Panels, follow the instructions in the Filament docs first.

Add the package's views to your theme's CSS file, so Tailwind generates the classes they use:

Register the plugin in your panel provider — see Usage.

Configuration

Optionally publish the config file:

config/filament-happenv-saved-views.php:

Optionally, publish the views and translations:

Swapping the model

Every model reference is resolved through the container and bound with bindIf, so a host app can provide its own model (different keys, traits, connection):

Point the package at the host table via config('filament-happenv-saved-views.table') and override icons the same way (any value Filament accepts as an icon, including other icon-set enums).

Usage

1. Register the plugin on a panel

The plugin injects the saved-views control into the toolbar of every resource list page that uses the HasSavedViews trait.

2. Add the trait to your list pages

Surface the saved views in the page sub-navigation:

3. Restyle the manager button (optional)

The toolbar button is a SavedViewManagerAction, so it configures the way any Filament component does — once, for every table:

Your callback runs after the package's own defaults, so anything you set wins. A broad Action::configureUsing() registered against the parent still runs earlier, so a panel-wide default does not quietly repaint this one button.

4. Configure the manager per table (optional)

Translations

The manager ships in every locale Filament ships:

am ar az bg bn bs ca ckb cs da de el en es et eu fa fi fil fr he hi hr hu hy id it ja ka km ko ku lt lus lv mk mn ms my nb ne nl pl pt pt_BR ro ru sk sl sq sr_Cyrl sr_Latn sv sw tg th tr uk ur uz vi zh_CN zh_HK zh_TW

Publish them with php artisan vendor:publish --tag="filament-saved-views-translations" to change the wording or add a language. tests/Unit/TranslationsTest.php checks that every locale has exactly the keys English has, and that every locale Filament ships has a translation.

Development

The stylesheet (resources/css/saved-views.css) is plain CSS registered with FilamentAsset — there is no build step.

Upgrading

Breaking changes and how to migrate are described in UPGRADING for every major version.

Changelog

See CHANGELOG and GitHub releases for what has changed recently.

Contributing

See CONTRIBUTING for details.

Security vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). See License File for more information.



All versions of filament-saved-views with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^4.11.2 || ^5.6.2
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
livewire/livewire Version ^3.0 || ^4.0
spatie/eloquent-sortable Version ^4.5 || ^5.0
spatie/laravel-package-tools Version ^1.16
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 happenv-com/filament-saved-views contains the following files

Loading the files please wait ...