Closed michael-rubel closed 1 year ago
Adds handy extraction of the username and domain parts from the email.
$email = new Email('michael@laravel.software'); $email->username(); // 'michael' $email->domain(); // 'laravel.software' $email->toArray(); // ['email' => 'michael@laravel.software', 'username' => 'michael', 'domain' => 'laravel.software']
About
Adds handy extraction of the username and domain parts from the email.