rupadana / filament-timeago
Display the age of each record, indicating when it was created, updated, and (if applicable) deleted.
Fund package maintenance!
rupadana
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 4
Language:JavaScript
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-12-08 11:26:43 UTC
README
Display the age of each record, indicating when it was created, updated, and (if applicable) deleted.
Installation
You can install the package via composer:
composer require rupadana/filament-timeago
Usage
public static function table(Table $table): Table { return $table ->columns([ TimeAgoColumn::make('created_at') ->dateLabel( years: 'years', months: 'months', days: 'days', hours: 'hours', minutes: 'minutes', seconds: 'seconds' ) // Optional ->interval(1000) // Optional, default : 0 ->prefixText('string') // Optional ->suffixText('string') // Optional ]) }
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.