Date Scopes Filter
CommunityProvide a filter by seconds, minutes, hours, days, weeks, months, quarter, years, decades and millenniums for table.
Author:
Ayman Alhattami
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Warning: Dependabot PR responsiveness — Stale Dependabot PRs: oldest general PR is 34 days old.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
-
Failed:
Dependency update cooldown configured
—
No cooldown configured in
.github/dependabot.yml. View details on Plumb - Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 62 days ago; last release 62 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Warning: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.1|^8.2|^8.3|^8.4|^8.5supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
Provide a filter by seconds, minutes, hours, days, weeks, months, quarter, years, decades and millenniums for table.
#Installation
At first, this package depends on laravel date scops. Please read the laravel date scops document and prepare your model(s) to be filtered by date scopes.
You can install the package via composer:
composer require aymanalhattami/filament-date-scopes-filter
#Usage
use AymanAlhattami\FilamentDateScopesFIlter\DateScopeFilter;
// ...
public static function table(Table $table): Table
{
return $table
->filters([
DateScopeFilter::make('created_at'),
])
// ...
}
// ...
#More configuration
use AymanAlhattami\FilamentDateScopesFIlter\DateScopeFilter;
// ...
public static function table(Table $table): Table
{
return $table
->filters([
DateScopeFilter::make('created_at')
->withoutSeconds() // ex
->withoutMinutes()
->withoutHours()
->withoutDays()
->withoutWeeks()
->withoutMonths()
->withoutQuarters()
->withoutYears()
->withoutDecades()
->withoutCenturies()
->withoutMillenniums(),
])
// ...
}
// ...
#Translations
Publish the translations using:
php artisan vendor:publish --tag="filament-date-scopes-filter-translations"
#Changelog
Please see CHANGELOG for more information what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#Security
If you discover any security related issues, please email ayman.m.alhattami@gmail.com instead of using the issue tracker.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
#Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
The author
From the same author
Slim Scrollbar
A simple package to make the application's scrollbars slim.
Author:
Ayman Alhattami
Page with Sidebar
Organize resource pages in the sidebar to make navigation between resource pages more comfortable.
Author:
Ayman Alhattami
Context Menu
Customizable context menu (right click menu) for your app.
Author:
Ayman Alhattami
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight/Raycast like Command Palette to your Filament Panel.
Dennis Koch
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament