PHPackages                             snowsoft/daterangepicker - 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. snowsoft/daterangepicker

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

snowsoft/daterangepicker
========================

Integrates daterangepicker into laravel-admin

v1.0.2(3y ago)010MITJavaScriptPHP &gt;=7.0.0

Since Sep 13Pushed 3y agoCompare

[ Source](https://github.com/snowsoft/daterangepicker)[ Packagist](https://packagist.org/packages/snowsoft/daterangepicker)[ Docs](https://github.com/laravel-admin-ext/daterangepicker)[ RSS](/packages/snowsoft-daterangepicker/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Integrates daterangepicker into laravel-admin
=============================================

[](#integrates-daterangepicker-into-laravel-admin)

This is an extension to integrates [Date Range Picker](http://www.daterangepicker.com/) into laravel-admin.

Screenshot
----------

[](#screenshot)

[![qq20180914-014825](https://user-images.githubusercontent.com/1479100/45505950-8521f880-b7c0-11e8-97cf-4a792e8f4c0e.png)](https://user-images.githubusercontent.com/1479100/45505950-8521f880-b7c0-11e8-97cf-4a792e8f4c0e.png)

Installation
------------

[](#installation)

```
composer require snowsoft/daterangepicker

php artisan vendor:publish --tag=laravel-admin-daterangepicker
```

Configurations
--------------

[](#configurations)

Open `config/admin.php`, add configurations that belong to this extension at `extensions` section.

```
    'extensions' => [

        'daterangepicker' => [

            // Set to `false` if you want to disable this extension
            'enable' => true,

            // Find more configurations http://www.daterangepicker.com/
            'config' => [

            ]
        ]
    ]
```

Usage
-----

[](#usage)

Use it in the form:

```
//Single column

$form->daterangepicker('date_range', 'Date range');

// Predefine Date Ranges.
$form->daterangepicker('date_range', 'Date range')
    ->ranges([
        'Today'        => [Carbon::today()->toDateString(), Carbon::today()->toDateString()],
        'Yesterday'    => [Carbon::yesterday()->toDateString(), Carbon::yesterday()->toDateString()],
        'Last 7 Days'  => [Carbon::today()->subDays(6)->toDateString(), Carbon::today()->toDateString()],
        'Last 14 Days' => [Carbon::today()->subDays(13)->toDateString(), Carbon::today()->toDateString()],
        'Last 30 Days' => [Carbon::today()->subDays(29)->toDateString(), Carbon::today()->toDateString()],
        'This Month'   => [Carbon::today()->startOfMonth()->toDateString(), Carbon::today()->endOfMonth()->toDateString()],
        'Last Month'   => [Carbon::today()->subMonth()->firstOfMonth()->toDateString(), Carbon::today()->subMonth()->lastOfMonth()->toDateString()],
    ]);

// multilpe column
$form->daterangepicker(['created_at', 'updated_at'], 'Date range');
```

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~798 days

Total

3

Last Release

1201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82e2e5c31874e6660f06e56f1bf60eebc23db8b6ef8e719e9f52ae6db07f90e3?d=identicon)[snowsoft](/maintainers/snowsoft)

---

Top Contributors

[![snowsoft](https://avatars.githubusercontent.com/u/4568234?v=4)](https://github.com/snowsoft "snowsoft (3 commits)")[![z-song](https://avatars.githubusercontent.com/u/1479100?v=4)](https://github.com/z-song "z-song (3 commits)")

---

Tags

extensionformlaravel-admindaterangepicker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/snowsoft-daterangepicker/health.svg)

```
[![Health](https://phpackages.com/badges/snowsoft-daterangepicker/health.svg)](https://phpackages.com/packages/snowsoft-daterangepicker)
```

###  Alternatives

[laravel-admin-ext/daterangepicker

Integrates daterangepicker into laravel-admin

3337.3k](/packages/laravel-admin-ext-daterangepicker)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

324.8M10](/packages/kartik-v-yii2-widget-colorinput)[laravel-admin-ext/china-distpicker

Distpicker extension for laravel-admin

13443.9k](/packages/laravel-admin-ext-china-distpicker)[jxlwqq/quill

quill editor for laravel-admin

2427.1k](/packages/jxlwqq-quill)[laravel-admin-ext/sparkline

Integrates jQuery sparkline into laravel-admin

161.1k](/packages/laravel-admin-ext-sparkline)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
