innmind/time
InnMind Time is a PHP library for immutable, object-oriented time handling: instants, durations, and temporal arithmetic via an explicit clock. It avoids hidden global state, making time-dependent code easier to test and reason about.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| innmind/time-continuum | 0.87 | 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 | |
| innmind/math | 0.85 | InnMind Math is a compact PHP library for common mathematical operations and numeric handling. It offers reusable, framework-agnostic helpers and value objects that make calculations consistent and easy to integrate into PHP projects. | 3 | — | 1 | — | 3 | 16.3 | 0.4 | MIT | 2 months ago |
|
| innmind/http | 0.83 | Innmind HTTP provides lightweight, immutable HTTP request and response abstractions for PHP, giving developers a clean, framework-agnostic foundation for building clients, servers, and middleware. | 4 | — | 0 | — | 0 | 15.5 | — | MIT | 2 months ago |
|
| innmind/type | 0.82 | innmind/type provides a lightweight type system for PHP, letting you express and enforce typed data structures, unions, and constraints in a declarative way. It integrates cleanly with the Innmind ecosystem and keeps validation explicit and composable. | 1 | — | 0 | — | 0 | 8.4 | — | MIT | 7 months ago |
|
| innmind/immutable | 0.82 | Innmind/Immutable provides persistent, immutable collections for PHP, including sequences, sets, maps, and streams. It offers a functional API with lazy operations, structural sharing, and type-safe wrappers for predictable, side-effect-free data manipulation. | 75 | — | 4 | — | 2 | 16.4 | — | MIT | 2 months ago |
|
| innmind/specification | 0.82 | Innmind's specification package brings the Specification pattern to PHP, letting you compose business rules with and/or/not operators and reuse them for validation, filtering, or query building. Small immutable objects keep domain logic expressive, decoupled, and testable. | 0 | — | 0 | — | 0 | 8.6 | — | MIT | 7 months ago |
|
| php-standard-library/date-time | 0.81 | 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 | |
| brick/date-time | 0.80 | 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 | |
| innmind/reflection | 0.80 | Provides a simple object-oriented wrapper around PHP's native reflection API, letting you inspect classes, interfaces, methods, properties and parameters with a cleaner, more predictable interface. Useful for building tooling, dependency injection containers and code analysis. | 1 | — | 3 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
| innmind/io | 0.80 | A typed I/O abstraction for PHP that wraps streams, files, and sockets behind lazy, composable interfaces. It standardizes reading, writing, and resource handling so applications can swap data sources without changing their logic. | 1 | 1 | 0 | 2K | 1 | 16.1 | 45.7 | MIT | 2 months ago | |
| aeon-php/calendar | 0.80 | 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 | |
| innmind/validation | 0.80 | A framework-agnostic validation library for PHP that lets you compose reusable rules, validate nested data structures, and return structured, readable errors for APIs, forms, and domain objects without tying validation to your framework. | 1 | — | 0 | — | 0 | 15.1 | — | MIT | 2 months ago |
|
| rikudou/clock | 0.80 | A lightweight clock abstraction for PHP that makes time-dependent code easier to test. Inject a clock instead of calling time() directly, use the system clock in production, and swap in a fixed or mocked clock in tests to control dates and durations reliably. Framework-agnostic and simple to integra... | 1 | 0 | 0 | 2K | 0 | 0.0 | 42.3 | MIT | — | |
| innmind/di | 0.79 | A dependency injection container for PHP that composes object graphs through explicit bindings, constructor autowiring, and factory closures. Part of the InnMind stack, it keeps service configuration readable and testable while resolving shared or lazy instances on demand. | 0 | — | 0 | — | 0 | 6.4 | — | MIT | 8 months ago |
|
| innmind/signals | 0.79 | Signal handling abstraction for PHP: register listeners for POSIX signals such as SIGTERM or SIGINT and react cleanly in long-running CLI processes, workers, and daemons without scattering pcntl calls throughout your code. | 0 | — | 0 | — | 0 | 15.9 | — | MIT | 2 months ago |
|
How can I help you explore Laravel packages today?