ramsey / uuid

:snowflake: A PHP library for generating universally unique identifiers (UUIDs).
https://uuid.ramsey.dev
MIT License
12.43k stars 500 forks source link

Interface 'Ramsey\Uuid\Provider\TimeProviderInterface' not found #512

Open testcodebuddys opened 1 year ago

testcodebuddys commented 1 year ago

Description

I'm facing a challenge involving the absence of the Ramsey\Uuid\Provider\TimeProviderInterface interface while utilizing the ramsey/uuid package within my Laravel application. This issue arises when I try to utilize the interface for generating time-based UUIDs. Furthermore, when a new user signs up on my Laravel platform, the anticipated behavior of sending a database notification to alert the admin is not being fulfilled. Similarly, I encounter the same error when attempting to initiate a password reset via email.

Steps to reproduce

Admin database notification:

  1. Register a new user account on the application.
  2. Verify that the database notification is not received by the admin.

Password Reset :

  1. Visit the "Forgot Password" page on the application.
  2. Enter the email address associated with a user account.
  3. Click the "Send Password Reset Link" button.

Expected behavior

Admin database notification : After a new user registers, a database notification should be created and sent to the admin.

Password Reset : Upon clicking the "Send Password Reset Link" button, I should receive an email with a reset link that allows me to set a new password for the associated user account.

Screenshots or output

image

Environment details

ramsey commented 10 months ago

I'm unable to debug a full Laravel application. Can you provide a short reproducible code example?