PHPackages                             laravel-admin-ext/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. laravel-admin-ext/daterangepicker

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

laravel-admin-ext/daterangepicker
=================================

Integrates daterangepicker into laravel-admin

v1.0.0(7y ago)3337.3k11[4 issues](https://github.com/laravel-admin-extensions/daterangepicker/issues)MITJavaScriptPHP &gt;=7.0.0

Since Sep 13Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)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 laravel-admin-ext/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');
```

Donate
------

[](#donate)

> Help keeping the project development going, by donating a little. Thanks in advance.

[![PayPal Me](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/zousong)

[![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2797d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48536779?v=4)[encore](/maintainers/encore)[@encore](https://github.com/encore)

---

Top Contributors

[![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/laravel-admin-ext-daterangepicker/health.svg)

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

###  Alternatives

[laravel-admin-ext/china-distpicker

Distpicker extension for laravel-admin

13443.9k](/packages/laravel-admin-ext-china-distpicker)[codingyu/ueditor

UEditor extension for laravel-admin

6471.6k](/packages/codingyu-ueditor)[laravel-admin-ext/grid-sortable

Sort the grid data by drag and drop rows

42119.3k](/packages/laravel-admin-ext-grid-sortable)[jxlwqq/quill

quill editor for laravel-admin

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

Use Echarts in laravel-admin

349.5k](/packages/cyd622-laravel-admin-ext-echarts)[jxlwqq/simditor

Simditor for Laravel-admin

1629.0k1](/packages/jxlwqq-simditor)

PHPackages © 2026

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