Skip to content

Commit

Permalink
Merge pull request #1 from PhantPHP/version-2
Browse files Browse the repository at this point in the history
Version 2
  • Loading branch information
lennyrouanet authored Oct 21, 2022
2 parents 1b51d6e + 8b96204 commit 7765f8c
Show file tree
Hide file tree
Showing 10 changed files with 906 additions and 886 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vendor/*
# Dev
.DS_Store
.nova/*
.php-cs-fixer.cache
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Requirments

PHP >= 8.0
PHP >= 8.1


## Install
Expand Down
119 changes: 60 additions & 59 deletions component/Data/EmailServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,67 +1,68 @@
<?php

declare(strict_types=1);

namespace Phant\DomainName\Data;

final class EmailServiceProvider
{
const LIST = [
// AOL
'aol.com',
// Apple
'me.com',
'icloud.com',
// Bouygues telecom
'bbox.fr',
// Darty box
'dbmail.com',
// Lliad
'free.fr',
'aliceadsl.fr',
'libertysurf.fr',
// Laposte
'laposte.net',
// GMX
'gmx.fr',
// Google
'gmail.com',
'gmail.fr',
// Mailoo
'mailoo.org',
// Microsoft
'hotmail.fr',
'hotmail.com',
'hotmail.ca',
'hotmail.cf',
'hotmail.ch',
'hotmail.de',
'hotmail.mail',
'hotmail.mail.fr',
'live.fr',
'outlook.fr',
'msn.com',
// Orange
'wanadoo.fr',
'wanadoo.com',
'orange.fr',
'fr.oleane.com',
'nordnet.fr',
'voila.fr',
// SFR
'sfr.fr',
'neuf.fr',
'club-internet.fr',
'cegetel.net',
'numericable.fr',
'noos.fr',
'9business.fr',
// Yahho
'yahoo.fr',
'yahoo.com',
'yahoo.co.in',
'yahoo.com.cn',
'yahoo.de',
'ymail.com',
'ymail.fr',
];
public const LIST = [
// AOL
'aol.com',
// Apple
'me.com',
'icloud.com',
// Bouygues telecom
'bbox.fr',
// Darty box
'dbmail.com',
// Lliad
'free.fr',
'aliceadsl.fr',
'libertysurf.fr',
// Laposte
'laposte.net',
// GMX
'gmx.fr',
// Google
'gmail.com',
'gmail.fr',
// Mailoo
'mailoo.org',
// Microsoft
'hotmail.fr',
'hotmail.com',
'hotmail.ca',
'hotmail.cf',
'hotmail.ch',
'hotmail.de',
'hotmail.mail',
'hotmail.mail.fr',
'live.fr',
'outlook.fr',
'msn.com',
// Orange
'wanadoo.fr',
'wanadoo.com',
'orange.fr',
'fr.oleane.com',
'nordnet.fr',
'voila.fr',
// SFR
'sfr.fr',
'neuf.fr',
'club-internet.fr',
'cegetel.net',
'numericable.fr',
'noos.fr',
'9business.fr',
// Yahho
'yahoo.fr',
'yahoo.com',
'yahoo.co.in',
'yahoo.com.cn',
'yahoo.de',
'ymail.com',
'ymail.fr',
];
}
Loading

0 comments on commit 7765f8c

Please sign in to comment.