sanmai/duoclock
PSR-20 clock abstraction with dual time access (DateTimeImmutable, time(), microtime()) plus mockable sleep/usleep/nanosleep for testing. Includes deterministic TimeSpy and tick helpers to measure elapsed time. Minimal dependency (psr/clock) and easy to mock.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| alhames/phphelper | 0.84 | PHP Helper is a small set of utility classes and functions for PHP 7.1+ to make common tasks easier. Includes a Str helper (docs in Russian) and other lightweight tools to simplify everyday development. | 0 | 0 | 0 | 1 | 0 | 2.4 | 4.2 | MIT | 6 years ago | |
| sanmai/di-container | 0.83 | A straightforward PSR-11 dependency injection container with zero-configuration autowiring. It resolves constructor dependencies via reflection, reuses created objects, maps interfaces to concrete implementations, and supports builder objects for complex construction. | 7 | 7 | 4 | 1M | 0 | 24.2 | 63.6 | BSD-3-Clause | 2 months ago | |
| brick/date-time | 0.83 | A powerful set of immutable PHP date-time classes built on native PHP and following ISO 8601, inspired by Java's JSR 310. Adds missing concepts such as LocalDate, LocalTime, YearMonth, and MonthDay. Requires PHP 8.2+. | 361 | 365 | 36 | 242K | 19 | 37.8 | 56.0 | MIT | 4 weeks ago | |
| omaralalwi/laravel-time-craft | 0.83 | 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 | |
| sanmai/later | 0.83 | Lazy evaluation for PHP built on generators. Wrap any value-producing function with later() or lazy() to get a Deferred object, then call get() to resolve it once, on demand. Fully typed, no callbacks, no exceptions. | 72 | 73 | 3 | 2M | 1 | 16.9 | 61.9 | Apache-2.0 | 4 months ago | |
| herrera-io/date-interval | 0.82 | Extends PHP’s DateInterval with handy conversions: turn intervals into ISO interval specs and seconds, and recreate intervals from seconds. Useful for normalizing and serializing durations (e.g., P2H <-> 7200). | 15 | 15 | 7 | 189 | 0 | 0.2 | 10.8 | MIT | — | |
| open-southeners/byte-unit-converter | 0.82 | PHP 8.1+ utility to convert byte sizes between multiple units with no dependencies. Inspired by macOS ByteCountFormatter, it helps format and convert storage values consistently for apps and libraries. | 5 | 5 | 0 | 333 | 0 | 1.8 | 24.2 | MIT | 2 years ago | |
| florianv/business | 0.82 | Laravel package to validate, normalize, and format business identifiers and tax numbers (VAT, SIRET/SIREN, etc.) across multiple countries. Provides rules/helpers for forms and models, making compliant input handling and display easy. | 358 | 361 | 25 | 8K | 61 | 20.7 | 38.2 | MIT | 4 years ago | |
| cakephp/chronos | 0.82 | 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 | |
| desarrolla2/timer | 0.82 | Lightweight PHP timer utility for measuring execution time. Start/stop laps, track multiple timers, and get elapsed time for profiling and benchmarking small code sections. Suitable for quick performance checks during development. | 4 | 5 | 1 | 201 | 0 | 0.1 | 22.3 | MIT | — | |
| digital-craftsman/date-time-precision | 0.82 | PHP/Symfony package wrapping DateTime in precise value objects: Moment, Time, Date, Month, Year, Day and Weekday, plus collections. Keeps UTC internally and converts to the relevant timezone for modifications. Includes Symfony normalizers and Doctrine types, and is thoroughly tested. | 0 | 0 | 0 | 32 | 1 | 26.9 | 24.5 | MIT | 3 weeks ago | |
| mtdowling/cron-expression | 0.82 | A PHP library for parsing and evaluating cron expressions. Check whether a schedule is due, get next/previous run dates, and iterate occurrences. Supports standard cron fields plus common extensions, useful for job schedulers and task runners. | 4,857 | 4,619 | 341 | 270K | 6 | 37.8 | 27.5 | MIT | 9 years ago | |
| digital-craftsman/datetime-parts | 0.82 | Thin value objects for Time, Date, Month, Year and Moment, wrapping DateTime so you never pad dates with fake times. Internal UTC with timezone-aware edits, plus Symfony normalizers and Doctrine types for storing them directly in the database. | 0 | 0 | 0 | 0 | 0 | 27.9 | — | MIT | 6 days ago | |
| andanteproject/timestampable-bundle | 0.82 | Symfony bundle for Doctrine entities that automatically manages createdAt and updatedAt with DateTimeImmutable. Zero config to start, customizable, uses Symfony Clock, no attributes needed, and won’t overwrite timestamps you set manually. Compatible with Symfony 5–8, PHP 8.2. | 9 | 9 | 3 | 3K | 0 | 17.1 | 37.9 | MIT | 6 months ago | |
| symplify/easy-parallel | 0.82 | Run PHP tasks in parallel with a simple API. Easy Parallel helps speed up builds and code analysis by distributing work across multiple processes, while keeping output manageable and integration straightforward in existing Symplify and custom tooling. | 13 | 13 | 5 | 5K | 1 | 0.3 | 34.8 | MIT | — | |
| chamber-orchestra/doctrine-clock-bundle | 0.82 | — | 1 | 1 | 0 | 2K | 0 | 0.0 | 42.5 | MIT | — | |
| awd-studio/vo-date-time | 0.82 | 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 | |
| davidcole1340/reactsh | 0.82 | Reactsh provides a lightweight Laravel/PHP bridge for working with React and modern frontend tooling. It aims to simplify integrating React components into server-rendered apps with straightforward setup and sensible defaults for local development and builds. | 1 | 1 | 0 | 197 | 0 | 0.9 | 27.6 | MIT | 4 years ago | |
| aeon-php/calendar | 0.82 | Aeon Calendar is a time management framework for PHP that makes working with dates, times, time zones, and intervals easier through a clean, object-oriented API, backed by solid testing and clear documentation with examples. | 206 | 209 | 8 | 203K | 0 | 10.4 | 41.3 | — | 4 years ago | |
| nesbot/carbon | 0.82 | Carbon is a popular PHP date/time library that extends DateTime with a fluent, human-readable API for parsing, formatting, comparing, and manipulating dates, plus localization, relative time, intervals, and test helpers. It is widely used in Laravel and standalone PHP projects. | 0 | 621 | — | 25M | — | 7.2 | 55.3 | — | — |
How can I help you explore Laravel packages today?