PHPackages                             gerenuk/filament-utc-dts - 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. gerenuk/filament-utc-dts

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

gerenuk/filament-utc-dts
========================

This package adds a UTC time indicator to your filament panel.

v1.1.0(1y ago)53.7k↓50%1[3 PRs](https://github.com/Gerenuk-LTD/filament-utc-dts/pulls)MITPHPPHP ^8.1CI passing

Since Jun 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Gerenuk-LTD/filament-utc-dts)[ Packagist](https://packagist.org/packages/gerenuk/filament-utc-dts)[ Docs](https://github.com/Gerenuk-LTD/filament-utc-dts)[ GitHub Sponsors](https://github.com/gerenuk)[ RSS](/packages/gerenuk-filament-utc-dts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (13)Versions (12)Used By (0)

[![Project banner](https://camo.githubusercontent.com/a612efba0bc32f4fc5033cfa76e4147dcb7e3556a6960fca71f6b1364e02778d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f46696c616d656e742532305554432532304454532e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d676572656e756b25324666696c616d656e742d7574632d647473267061747465726e3d627269636b57616c6c267374796c653d7374796c655f31266465736372697074696f6e3d5365652b5554432b74696d652b696e2b796f75722b46696c616d656e742b70616e656c266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d636c6f636b)](https://camo.githubusercontent.com/a612efba0bc32f4fc5033cfa76e4147dcb7e3556a6960fca71f6b1364e02778d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f46696c616d656e742532305554432532304454532e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d676572656e756b25324666696c616d656e742d7574632d647473267061747465726e3d627269636b57616c6c267374796c653d7374796c655f31266465736372697074696f6e3d5365652b5554432b74696d652b696e2b796f75722b46696c616d656e742b70616e656c266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d636c6f636b)

Filament UTC DTS
================

[](#filament-utc-dts)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2e7b76e8c7428b61841a1cde94a845c47f96239c1272272187e0bd4978ba4c4f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676572656e756b2f66696c616d656e742d7574632d6474732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gerenuk/filament-utc-dts)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4c57914d6f8ab34d95bc9d8fa8f983d03dd57e49c95d030674a7a691432543ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676572656e756b2d6c74642f66696c616d656e742d7574632d6474732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/gerenuk-ltd/filament-utc-dts/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5d0e0fb38d1e5902e6db84e589c5df210b76bdce76a54afb3bf61f6422d1b38c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676572656e756b2f66696c616d656e742d7574632d6474732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gerenuk/filament-utc-dts)

This package adds a UTC indicator badge to your Filament panel.

Table of Contents
-----------------

[](#table-of-contents)

1. [Introduction](#filament-utc-dts)
2. [Version Compatibility](#version-compatibility)
3. [Installation](#installation)
4. [Usage](#usage)
    - [Registering the Plugin](#usage)
5. [Testing](#testing)
6. [Screenshots](#screenshots)
    - [UTC Indicator](#utc-indicator)
7. [Changelog](#changelog)
8. [Contributing](#contributing)
9. [Security Vulnerabilities](#security-vulnerabilities)
10. [Credits](#credits)
11. [License](#license)

Version Compatibility
---------------------

[](#version-compatibility)

PluginFilamentLaravelPHP1.x3.x10.x8.x1.x3.x11.x8.2|8.31.x3.x12.x8.4Installation
------------

[](#installation)

You can install the package via composer:

```
composer require gerenuk/filament-utc-dts
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-utc-dts-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-utc-dts-views"
```

This is the contents of the published config file:

```
return [
    /*
     * The Carbon format which should be used to display the UTC timestamp.
     */
    'format' => 'd M Hi\Z',

    /*
     * Whether the component should poll every second to keep the time synced.
     */
    'should_poll' => true,
];
```

Usage
-----

[](#usage)

You first need to register the plugin with Filament. This can be done inside of your `PanelProvider`, e.g. `AdminPanelProvider`.

```
