Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Add isUlid in Stringable #45100

Merged
merged 3 commits into from Nov 26, 2022
Merged

Conversation

michaelnabil230
Copy link
Contributor

This PR is to add the ability to check if the string is Ulid.

Ex:

str('01GJSNW9MAF792C0XYY8RX6QFT')->isUlid();

@taylorotwell taylorotwell merged commit 40d7974 into laravel:9.x Nov 26, 2022
@michaelnabil230 michaelnabil230 deleted the str-is-ulid branch November 26, 2022 17:58
bert-w pushed a commit to bert-w/framework that referenced this pull request Nov 28, 2022
* Add isUlid in `Stringable`

* Add tests

* Update Stringable.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants