{"repo":"discoverydesign/filament-gaze","free":true,"listed":false,"github":"https://github.com/discoverydesign/filament-gaze","clone":"git clone https://github.com/discoverydesign/filament-gaze.git","description":"👀 See who's viewing a resource in Filament PHP 🔭","language":"PHP","stars":173,"topics":["filamentadmin","filamentphp","laravel","livewire","filament-plugin","filamentphp-plugin"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Filament Gaze 👀 See who's viewing a resource in Filament PHP 🔭 Now supporting FilamentPHP 4 & FilamentPHP 5 Demo This package allows you to display when other users are viewing the same resource in Filament PHP. https://packagist.org/packages/discoverydesign/filament-gaze Features - Ability to see who else is currently viewing a resource. - Ability to lock a resource to only 1 editor at a time. - Ability to conditionally allow users to take control of a locked resource. How to use 1. Install the package using composer require discoverydesign/filament-gaze 2. Add \\DiscoveryDesign\\FilamentGaze\\FilamentGazePlugin::make() to your Filament Panel provider. 3. Publish the assets with php artisan filament:assets . 4. Import the package inside your Filament Resource with use DiscoveryDesign\\FilamentGaze\\Forms\\Components\\GazeBanner . 5. Add the GazeBanner form component to your form with GazeBanner::make() . 6. (Optionally) add the GazeColumn table column to your table with GazeColumn::make() . 7. If required, publish the translation files with php artisan vendor:publish --tag=filament-gaze-translations . Gaze Banner Examples Basic Example Poll Timer Example Identifier Example Lock Example Lock With Control Example Hiding Gaze Banner on Create Form Example There is also a helper function Gaze Table Column Examples Basic Example Identifier Example Gaze Helper There is a helper that can be used to get/set Gaze state. Available Methods $record can also be a string when a custom identifi","default_branch":null,"files":null,"tree":[],"storefront":"/r/discoverydesign","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/discoverydesign/filament-gaze/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}