• Stars
    star
    223
  • Rank 178,458 (Top 4 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Quickly navigate your Filament pages

header

Filament Spotlight

Latest Version on Packagist Software License GitHub Workflow Status Total Downloads

Quickly navigate your Filament Resources with Spotlight functionality.

Supports pages, resources and links from the user menu.

demo.mp4

Installation

Plugin Version Filament Version PHP Version
0.x 2.x > 8.0
1.x 3.x > 8.1
composer require pxlrbt/filament-spotlight

Assets

Publish the assets (Filament > 3)

php artisan filament:assets

Plugin registration

To use this plugin register it in your panel configuration:

use pxlrbt\FilamentSpotlight\SpotlightPlugin;

$panel
    ->plugins([
        SpotlightPlugin::make(),
    ]);

Usage

There is no configuration needed.

"its genius"

ย ย โ€“ Dan Harrin

To open the Spotlight input bar you can use one of the following shortcuts:

CTRL + K
CMD + K
CTRL + /
CMD + /

Setup

This plugin relies on the same properties and methods used for Filament's global search. For records showing up with the correct name in "Edit/View" you need to set $recordTitleAttribute. Check the docs for more information

Translation

To translate or edit the default placeholder, you have to publish the translation file for wire-element/spotlight:

php artisan vendor:publish --tag=livewire-ui-spotlight-translations

Contributing

If you want to contribute to this packages, you may want to test it in a real Filament project:

  • Fork this repository to your GitHub account.
  • Create a Filament app locally.
  • Clone your fork in your Filament app's root directory.
  • In the /filament-spotlight directory, create a branch for your fix, e.g. fix/error-message.

Install the packages in your app's composer.json:

"require": {
    "pxlrbt/filament-spotlight": "dev-fix/error-message as main-dev",
},
"repositories": [
    {
        "type": "path",
        "url": "filament-spotlight"
    }
]

Now, run composer update.

Credits

More Repositories

1

move-wsl

Easily move your WSL distros VHDX file to a new location.
PowerShell
1,411
star
2

filament-excel

Excel Export for Filament Admin Resources
PHP
330
star
3

filament-activity-log

Spatie activity log integration into Filament
PHP
134
star
4

filament-environment-indicator

Never confuse your tabs with different Filament environments again.
PHP
110
star
5

laravel-pdfable

Keep your PDFs logic in one place.
PHP
38
star
6

php-scoper-prefix-remover

PHP
10
star
7

cobalt2-jetbrains

Cobalt2 Theme for Jetbrains IDE.
Sass
9
star
8

markdown-css

Modern CSS style for nicely formatted markdown exports.
CSS
9
star
9

third-party-checker

Quickly check your websites for third party requests.
JavaScript
9
star
10

acf-configurator

A wrapper for easy local Advanced Custom Fields configuration in php.
PHP
8
star
11

wordpress-notifier

WordPress Notifier is an object oriented helper library for handling WordPress admin notices inside a plugin or theme. It supports persistent notices and dismissible notices out of the box and is extendable.
PHP
4
star
12

lightroom-filematcher

PHP Scripts that matches LR meta data to local files and renames them
PHP
3
star
13

wordpress-cf7-cleverreach-integration

WordPress Plugin: Integrates CleverReachยฎ into Contact Form 7
PHP
2
star
14

filament-translate-action

PHP
1
star
15

website-diff

Utility tool that bundles a crawler and BackstopJS for visual regression testing.
JavaScript
1
star
16

wordpress-cf7-weclapp-integration

Wordpress Plugin: Integrates WeClapp into Contact Form 7 forms
PHP
1
star
17

faker-better-unique

Replaces the default Faker with an extended Faker instance that adds `betterUnique()` โ€“ `unique()` based on a key.
PHP
1
star