psr/clock
PSR-20 Clock interface for PHP. Defines ClockInterface::now() returning DateTimeImmutable, enabling dependency injection of time sources and easy testing. This package provides only the interface; use or create an implementation.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| 4lxndr/cron-bundle | — | 0 | 1 | 0 | 23 | 0 | 15.8 | 21.6 | MIT | 3 months ago | |
| amashukov/blockchain-context-bundle | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| amashukov/eth-rpc-client-php | — | 0 | 0 | 0 | 115 | 0 | 0.0 | 28.5 | MIT | — | |
| atlance/jwt-core | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| b2pweb/bdf-prime | — | 3 | 3 | 0 | 393 | 0 | 0.6 | 29.1 | MIT | — | |
| beste/clock | beste/clock is a lightweight PHP clock implementation for time-dependent code. It provides a simple, test-friendly way to obtain the current time, swap in fixed or mock clocks, and improve determinism across your application and automated tests. | 74 | 74 | 1 | 1M | 0 | 2.5 | 55.3 | MIT | 3 years ago | |
| beste/in-memory-cache | Lightweight PSR-6 in-memory cache for PHP. Ideal as a default cache implementation and for fast, dependency-free tests. Supports expirations and can use a PSR-20 clock (e.g. frozen clock) for deterministic time-based behavior. | 25 | 25 | 0 | 1M | 0 | 20.6 | 64.2 | MIT | 1 month ago | |
| boson-php/globals-provider | Laravel package that exposes PHP superglobals and environment values through a service provider, offering a consistent way to access and share request/runtime globals across your app, with simple configuration and container bindings for easier testing. | 0 | 0 | 0 | 19 | 0 | 0.0 | — | MIT | — | |
| cakephp/chronos | Chronos provides immutable date/time objects for PHP, helping prevent accidental mutations and side effects. Includes ChronosDate for calendar dates fixed at 00:00:00, plus convenient APIs inspired by Carbon but no longer extending DateTime. | 1,361 | 1,369 | 71 | 780K | 1 | 35.5 | 43.8 | MIT | 1 month ago | |
| crell/planedo-bundle | — | 0 | 1 | — | 0 | — | 0.1 | — | — | — | |
| danilovl/entity-traits-bundle | — | 0 | 0 | 0 | 0 | 0 | 18.6 | — | MIT | 1 month ago | |
| drenso/symfony-oidc-bundle | — | 93 | 94 | 40 | 31K | 5 | 27.3 | 42.8 | Apache-2.0 | 2 weeks ago | |
| drenso/symfony-shared | — | 1 | 1 | 0 | 444 | 0 | 0.0 | — | — | — | |
| ecotone/ecotone | Ecotone is an attribute-driven PHP architecture layer for commands, queries, events, async messaging, and integration patterns. Start simple with #[CommandHandler], then scale to sagas, outbox, event sourcing, and distributed messaging without rewrites. | 561 | 563 | 24 | 8K | 0 | 3.5 | 16.1 | NOASSERTION | — | |
| eventsauce/clock | Simple clock abstraction for PHP. Use SystemClock in production and TestClock in tests to control time deterministically. Get now() as DateTimeImmutable, access timeZone(), move time forward, tick to system time, or fixate to a specific moment. | 3 | 3 | 2 | 35K | 0 | 0.1 | 54.2 | — | — | |
| eventsauce/eventsauce | EventSauce is an opinionated, no-nonsense toolkit for bringing event sourcing to PHP. Choose your own storage and queueing backends, and use built-in testing tools designed for event-sourced systems. Docs: eventsauce.io/docs | 864 | 863 | 84 | 36K | 5 | 8.9 | 26.1 | MIT | — | |
| facile-it/php-jose-verifier | Validate and verify JWTs (JOSE) with builder-based verifiers geared for OAuth2/OpenID Connect. Create verifiers from issuer metadata (issuer, jwks_uri) and client metadata (client_id/secret), with optional JWK sets for decryption; ext-gmp recommended for speed. | 4 | 4 | 6 | 28K | 1 | 15.8 | 57.8 | — | 4 months ago | |
| flow-php/etl | Flow PHP ETL is a strongly typed, generator-powered ETL framework for efficient extract-transform-load pipelines in PHP. Process large datasets with a minimal memory footprint and plug into many adapters, extractors, and loaders for diverse sources. | 376 | 377 | 20 | 49K | 0 | 2.5 | 29.2 | MIT | — | |
| flow-php/telemetry | Flow Telemetry is a PHP library for metrics and tracing, built to integrate smoothly with Flow PHP ETL pipelines. Use it to instrument jobs, collect runtime metrics, and add traces for observability. Includes docs, installation, and upgrade guides. | 2 | 2 | 0 | 16K | 0 | 0.0 | 51.3 | MIT | — | |
| gedmo/doctrine-extensions | — | 0 | 4,162 | — | 2M | — | 71.2 | 68.5 | — | — | |
| kevinrob/guzzle-cache-middleware | RFC 7234–compliant HTTP cache middleware for Guzzle 6+ using a HandlerStack. Improve API call performance with transparent caching. Supports PSR-7 and multiple storages: Laravel cache, Flysystem, PSR-6/16, and WordPress object cache. | 434 | 438 | 79 | 361K | 20 | 35.4 | 53.5 | MIT | 2 months ago | |
| kreait/firebase-php | Unofficial Firebase Admin SDK for PHP. Manage authentication, users, custom tokens, and verify ID tokens; send Cloud Messaging notifications; work with Realtime Database, Cloud Storage, and Remote Config. Built on Google APIs with Laravel-friendly support. | 2,437 | 2,454 | 451 | 1M | 15 | 54.1 | 49.1 | MIT | 3 months ago | |
| laminas/laminas-cache | Laminas Cache provides flexible caching for PHP apps with storage adapters (memory, filesystem, Redis, etc.), plugins, and cache patterns. Includes PSR-6/PSR-16 support, configuration options, and utilities for improving performance and reducing expensive operations. | 106 | 107 | 59 | 146K | 9 | 30.1 | 54.1 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-cache-storage-adapter-filesystem | Filesystem storage adapter for laminas-cache. Provides a cache backend that persists items on disk with configurable options and integration with Laminas Cache storage interfaces, suitable for local or shared filesystem caching. | 7 | 7 | 16 | 107K | 4 | 22.0 | 64.4 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-cache-storage-adapter-memory | In-memory cache storage adapter for Laminas Cache. Provides a simple, fast, non-persistent cache for the current PHP process, useful for testing, prototyping, or per-request caching without external services. | 4 | 4 | 12 | 81K | 1 | 19.1 | 62.6 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-cache-storage-adapter-test | Test adapter for Laminas Cache storage. Provides a lightweight in-memory storage implementation useful for unit tests and CI, enabling predictable cache behavior without external services or persistent backends. | 1 | 1 | 10 | 730 | 2 | 22.9 | 41.1 | BSD-3-Clause | 2 months ago | |
| lcobucci/clock | Small PHP clock abstraction to decouple your code from direct DateTimeImmutable instantiation. Depend on the Clock interface and use SystemClock for real time or FrozenClock for deterministic tests, with explicit timezone support. | 796 | 798 | 32 | 5M | 1 | 28.0 | 60.7 | MIT | 1 month ago | |
| lcobucci/jwt | A lightweight, flexible JWT library for PHP. Create, sign, parse, and validate JSON Web Tokens with support for multiple algorithms, key types, constraints, and claims. Includes a fluent builder, token parser, and robust validation APIs. | 7,483 | 7,563 | 597 | 7M | 6 | 57.9 | 44.9 | BSD-3-Clause | 7 months ago | |
| mcp/sdk | — | 1,532 | 1,531 | 142 | 351K | 74 | 52.3 | 67.7 | NOASSERTION | 4 days ago | |
| nesbot/carbon | Carbon is a PHP DateTime extension for easy date/time parsing, formatting, arithmetic, timezones, and human-friendly differences. Common in Laravel, it adds a fluent API, helpers like now()/today(), and readable methods for complex date logic. | 177 | 592 | 27 | 12M | 3 | 24.4 | 64.4 | MIT | 1 month ago | |
| 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. | 3 | 3 | 1 | 565K | 0 | 12.5 | 60.7 | Apache-2.0 | 5 months ago | |
| shapecode/cron-bundle | Laravel-friendly cron scheduler bundle that lets you define, manage, and run scheduled jobs from your app. Provides an easy API for registering tasks, configuring frequency and conditions, and executing commands reliably with clear organization and control. | 57 | 59 | 30 | 12K | 12 | 4.8 | 35.8 | MIT | — | |
| simplesamlphp/saml2 | — | 303 | 304 | 135 | 267K | 12 | 29.2 | 48.6 | LGPL-2.1 | 5 months ago | |
| simplesamlphp/saml2-legacy | — | 0 | 0 | 0 | 112K | 0 | 0.0 | 55.3 | LGPL-2.1 | — | |
| simplesamlphp/xml-common | — | 4 | 3 | 8 | 155K | 3 | 15.3 | 62.1 | LGPL-2.1 | 4 months ago | |
| simplethings/entity-audit-bundle | Doctrine 2 auditing/versioning bundle inspired by Hibernate Envers. Tracks entity changes and associations over time, stores revisions, and lets you inspect historical states for debugging, compliance, and change history in Symfony/Doctrine apps. | 642 | 649 | 260 | 11K | 4 | 37.0 | 20.7 | MIT | 2 months ago | |
| sonata-project/entity-audit-bundle | Doctrine 2 entity versioning for Symfony, inspired by Hibernate Envers. Tracks changes to audited entities and associations, storing revision history you can browse and compare for full audit trails. | 642 | 643 | 260 | 26K | 4 | 37.0 | 26.1 | MIT | 2 months ago | |
| spomky-labs/otphp | — | 1,469 | 1,481 | 160 | 1M | 1 | 34.7 | 46.2 | MIT | 4 months ago | |
| symfony/clock | Symfony Clock decouples your app from the system clock via a ClockInterface. Swap real and test clocks, get DateTimeImmutable “now()” values, control time zones, and pause execution with sleep()—ideal for time-sensitive code and reliable testing. | 431 | 432 | 3 | 11M | 0 | 32.4 | 65.0 | MIT | 1 week ago | |
| symfony/symfony | Symfony is a robust PHP framework and component library for building web apps and APIs. It offers a mature ecosystem, reusable components, strong tooling, and long-term support, powering everything from small sites to large enterprise platforms. | 31,061 | 31,363 | 9,841 | 268K | 272 | 79.9 | 31.5 | MIT | 1 week ago | |
| typhoon/opcache | — | 12 | 12 | 0 | 57 | 0 | 0.7 | 10.1 | MIT | 2 years ago | |
| web-auth/webauthn-lib | PHP WebAuthn library for adding passkeys/FIDO2 authentication to apps and APIs. Implements registration and login flows, credential validation, and related WebAuthn data structures, suitable for Laravel or custom frameworks. | 123 | 128 | 25 | 2M | 0 | 1.4 | 55.3 | MIT | — | |
| web-token/jwt-framework | — | 949 | 952 | 119 | 548K | 0 | 35.2 | 44.5 | MIT | 1 month ago | |
| web-token/jwt-library | Read-only sub-repository of the JWT Framework: a PHP JSON Web Token library. For docs and contributions, see the main jwt-framework repo and the official documentation at https://web-token.spomky-labs.com/. MIT licensed. | 20 | 20 | 8 | 1M | 0 | 0.3 | 55.3 | MIT | — | |
| yiisoft/test-support | Testing utilities for Yii applications: helpers and fixtures to simplify unit and integration tests, isolate dependencies, and improve readability. Provides common test tools you can reuse across packages and projects. | 15 | 15 | 11 | 15K | 3 | 16.3 | 46.1 | BSD-3-Clause | 4 months ago |
How can I help you explore Laravel packages today?