Download the PHP package sinensia/localizeddatetime without Composer
On this page you can find all versions of the php package sinensia/localizeddatetime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sinensia/localizeddatetime
More information about sinensia/localizeddatetime
Files in sinensia/localizeddatetime
Package localizeddatetime
Short Description A custom localized DateTime field for Laravel Nova 4 (Laravel 10+ compatible).
License MIT
Informations about the package localizeddatetime
Nova Localized DateTime Field
📅 A custom DateTime field for Laravel Nova 4 with localization support.
This package extends VueDatePicker to provide a flexible and user-friendly date selection experience.
TODO:Test in Nova 5
📌 Installation
Step 1: Add the package to your Laravel Nova project:
Step 2: Install Dependencies
Before installing the package, ensure your system has the required PHP extensions bcmath and zip.
1️⃣ Install Required PHP Extensions
For Ubuntu/Debian users, run:
2️⃣ Verify That Extensions Are Enabled
Check if the extensions are active (for example, in Apache):
If any extension is missing, you may need to restart PHP:
🛠️ Usage
In your Nova Resource:
🔧 Available Meta Options
| Option | Description |
|---|---|
locale |
User's preferred locale (ca, es, en) |
firstDayOfWeek |
First day of the week (1 = Monday, 0 = Sunday) |
dateFormat |
Example: dd/MM/yyyy HH:mm |
enableTimePicker |
true: Enables time selection, false: Date only |
range |
true: Allows date range selection, false: Single date |
showShortValue |
true: Shows only day/month, false: Shows full date |
presetRanges |
Predefined date ranges for quick selection |
🏗️ Compatibility
- ✅ Laravel Nova 4+
- ✅ Vue 3
- ✅ VueDatePicker 3.x
- ✅ Date-FNS for localization
📜 Credits
Developed by Sinensia
GitHub Repository
📄 License
This package is open-source and released under the MIT License.