We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d07de commit e24715cCopy full SHA for e24715c
README.md
@@ -28,6 +28,10 @@ Provides Laravel-specific and pure PHP helper functions.
28
- [Dump](#dump)
29
- [get_dump](#get_dump)
30
31
+- [Email](#email)
32
+ - [is_email](#is_email)
33
+ - [to_rfc2822_email](#to_rfc2822_email)
34
+
35
- [Format](#format)
36
- [format_bytes](#format_bytes)
37
@@ -91,6 +95,17 @@ $dump = get_dump($var);
91
95
// ]
92
96
```
93
97
98
+## Email
99
100
+#### `is_email()`
101
102
+Checks if specified string is valid email address or not:
103
+```php
104
+$isEmail = is_email('john.doe@example.com');
105
106
+// true
107
+```
108
94
109
## Format
110
111
#### `format_bytes()`
0 commit comments