psx/datetime
PSX DateTime is a PHP library for working with dates and times, offering utilities for parsing, formatting, timezone conversion, and date arithmetic. It integrates with the PSX framework and provides a lightweight, object-oriented API for common temporal tasks in PHP applications.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| innmind/time-continuum | 0.90 | InnMind Time Continuum is a PHP library for modeling time as a continuum of instants and intervals. It offers immutable temporal objects, precise duration arithmetic, comparisons, and conversions for scheduling and time-based domain logic. | 28 | 28 | 1 | 2K | 0 | 2.2 | 18.4 | MIT | 9 months ago | |
| laravel-validation-rules/timezone | 0.86 | Validate timezone input in Laravel with a dedicated timezone rule that checks values against PHP's supported timezone identifiers. Drop it into form requests or inline validators for a clear, reusable alternative to regex guessing. | 21 | — | 3 | — | 0 | 0.5 | — | Apache-2.0 | 3 years ago | |
| carbonphp/carbon-doctrine-types | 0.86 | Doctrine DBAL type mappings for Carbon, extracted from Carbon into a standalone package so each DBAL version can be supported cleanly. Adds date, datetime, and time types for using Carbon in Doctrine entities. | 223 | 223 | 6 | 20M | 1 | 20.6 | 63.5 | MIT | 2 months ago | |
| awd-studio/vo-date-time | 0.86 | Immutable PHP 8.3+ date-time value object. Create from strings, compare (equal/greater/less/between), and return new instances for changes like nextDay(), copy(), or modified() with DateTimePeriod offsets (days, minutes, weeks). | 0 | 0 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| genealabs/laravel-null-carbon | 0.86 | NullCarbon implements the Null Object pattern for Carbon in Laravel. When a date is missing, it stands in safely so date methods return null instead of throwing errors or defaulting to now, keeping models, Blade views, and formatting logic from breaking on nullable timestamps. | 56 | 56 | 0 | 9K | 0 | 0.7 | 30.3 | MIT | 2 years ago | |
| alexmg86/laravel-sub-query | 0.86 | alexmg86/laravel-sub-query brings fluent subquery support to Laravel's query builder and Eloquent, letting you embed subqueries in SELECT, FROM, WHERE, JOIN, and ORDER BY clauses through a clean, chainable API. | 75 | — | 5 | — | 1 | 0.9 | — | MIT | 5 years ago | |
| approached/laravel-date-international | 0.85 | Laravel Date International is a Laravel package for locale-aware date formatting. It helps present dates using regional conventions, with Carbon and Blade integration so dates read naturally for users across different languages and regions. | 10 | 10 | 6 | 74 | 0 | 0.3 | 8.7 | MIT | 6 years ago | |
| petrknap/eloquent | 0.85 | A collection of enhancements and helper classes for Laravel Eloquent: UTC/local datetime casts, Optional wrappers that delegate missing-model handling, and repositories that provide a clean, expressive interface for persistence logic. | 0 | 0 | 0 | 374 | 0 | 22.6 | 41.7 | LGPL-3.0 | 1 week ago | |
| whitecube/laravel-timezones | 0.85 | Laravel Timezones offers a curated list of timezone identifiers plus validation, select options, and browser-based detection helpers. Easily set user timezones, localize dates, and generate timezone dropdowns in Laravel apps. | 108 | 108 | 12 | 53K | 0 | 8.7 | 39.6 | MIT | 7 months ago | |
| cmixin/business-day | 0.85 | A PHP package for business-day calculations with customizable weekends and holidays. Add or subtract business days, check whether a date is a business day, and handle regional holiday rules—useful for scheduling, deadlines, and Laravel applications. | 406 | 407 | 59 | 331K | 0 | 16.5 | 44.7 | MIT | 4 months ago | |
| mateusjunges/laravel-time-helpers | 0.85 | Laravel Time Helpers adds handy date and time utilities to Laravel apps: Carbon macros, timezone conversion, and human-friendly formatting. Replace repetitive, error-prone date logic with clean, readable helpers that keep your code simple. | 38 | — | 2 | — | 0 | 0.3 | — | MIT | 4 years ago | |
| league/period | 0.85 | League\Period is PHP's missing time range API, offering immutable Interval and Bounds value objects, named constructors, and full support for simple or complex time range logic. Framework-agnostic, documented, and requiring PHP 8.1+. | 731 | 753 | 46 | 131K | 0 | 32.4 | 36.1 | MIT | 1 month ago | |
| glhd/laravel-timezone-mapper | 0.85 | Laravel Timezone Mapper helps map IANA timezone identifiers to the values your app needs, with a clean Laravel integration and simple API. It makes timezone lookups and display easier in forms, APIs, and user settings. | 47 | 47 | 1 | 38K | 0 | 8.4 | 42.8 | MIT | 7 months ago | |
| alexeyshockov/clock | 0.85 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| omaralalwi/laravel-time-craft | 0.84 | Laravel Time Craft adds Eloquent date scopes (today, yesterday, this week, last N days) plus readable date accessors and formatting helpers to any model, with customizable date fields and timezone-aware querying. | 13 | 12 | 3 | 532 | 0 | 15.6 | 24.7 | MIT | 3 months ago | |
| jord-jd/dates-timezone-conversion-trait | 0.84 | A Laravel trait for Eloquent models that simplifies timezone conversion for date and time attributes, helping keep stored and displayed values consistent without repetitive conversion code in your models. | 20 | 20 | 1 | 0 | 0 | 14.4 | — | LGPL-3.0 | 3 months ago | |
| psx/model | 0.84 | PSX\Model is a lightweight PHP model and entity library from the PSX framework. It offers annotated model classes and DTOs, plus schema generation, hydration, and serialization helpers, letting you define typed, self-documenting data structures without a full ORM. | 9 | 9 | 2 | 4K | 0 | 0.1 | 36.4 | Apache-2.0 | — | |
| php-standard-library/date-time | 0.84 | Immutable, timezone-aware date and time types for PHP, with Duration, Period, and Interval support for precise, reliable temporal calculations. | 1 | 1 | 0 | 83K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| cakephp/chronos | 0.84 | Chronos is an immutable date and datetime library for PHP. It offers Chronos and ChronosDate objects that prevent accidental modification, keeping data predictable, and adds handy conveniences beyond native DateTime. Install via Composer with cakephp/chronos. | 1,362 | 1,369 | 71 | 824K | 3 | 36.5 | 45.1 | MIT | 2 months ago | |
| fresh/datetime | 0.84 | Fresh DateTime adds convenient, expressive date and time handling to Laravel and PHP applications. It simplifies parsing, formatting, comparing, and manipulating dates, with timezone-aware helpers and a clean, chainable API for everyday scheduling and timestamp tasks. | 18 | 19 | 3 | 35K | 0 | 5.3 | 46.9 | MIT | 9 months ago |
How can I help you explore Laravel packages today?