Download the PHP package citricguy/filament-flatpickr without Composer

On this page you can find all versions of the php package citricguy/filament-flatpickr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-flatpickr

Filament Flatpickr

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A powerful Flatpickr date/time picker integration for Filament v4 and v5. Features timezone handling, date ranges, multiple date selection, time slots, business hours, and 9 built-in themes.

Note: This project was heavily inspired by https://github.com/coolsam726/flatpickr. It was developed as a ground-up alternative with a focus on current Laravel and Filament versions and tailored Filament integration. Many thanks to the original project for the ideas and motivation.

Requirements

Installation

Install the package via Composer:

Publish the assets (required):

Quick Start

Available Components

The package provides one main component with three convenience wrappers:

Component Description
Flatpickr Full-featured base component
FlatpickrDatePicker Pre-configured date-only picker
FlatpickrTimePicker Pre-configured time-only picker
FlatpickrDateTimePicker Pre-configured date+time picker

Selection Modes

Date Only

Time Only

Date and Time

Date Range

Select a start and end date:

For storing start/end dates in separate database columns:

Multiple Dates

Select multiple individual dates:

Time Configuration

24-Hour Format

Include Seconds

Time Increments

Business Hours

Restrict selection to business hours (validation enforced):

Time Slots

Enforce fixed time slot intervals:

Default Time

Set default hour and minute when opening the picker:

Date Constraints

Minimum and Maximum Dates

Date Restrictions

Disable Specific Weekdays

Exclude Specific Dates

Range Duration Constraints

For range mode, constrain the minimum and maximum duration:

Timezone Handling

Display and Storage Timezones

Timezone Modes

Formats

Storage Format

The format used when saving to the database:

Default formats by mode:

Display Format

The format shown to the user (uses Flatpickr tokens):

Appearance

Themes

Available themes:

Position

Available positions: Auto, Above, Below, AutoLeft, AutoCenter, AutoRight, AboveLeft, AboveCenter, AboveRight, BelowLeft, BelowCenter, BelowRight

Inline Calendar

Display the calendar inline (always visible):

Show Multiple Months

Week Numbers

UI Options

Allow Manual Input

Disable Mobile Native Picker

Disable Click to Open

Close on Select

Prefixes and Suffixes

Works with Filament's standard affix system:

Localization

Flatpickr supports 40+ locales.

Livewire Event Hooks

Emit Livewire events when the picker state changes:

Listen in your Livewire component:

Enums Reference

FlatpickrMode

FlatpickrTheme

FlatpickrPosition

DateRestriction

TimezoneMode

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

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.


All versions of filament-flatpickr with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^4.0|^5.0
filament/forms Version ^4.0|^5.0
filament/tables Version ^4.0|^5.0
spatie/laravel-package-tools Version ^1.92.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package citricguy/filament-flatpickr contains the following files

Loading the files please wait ...