PHPackages                             atomasevic/mxlogin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. atomasevic/mxlogin

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

atomasevic/mxlogin
==================

Improve your registration/signup pages with links to user's email provider inbox.

1.0.1(10y ago)2988↓66.7%3MITPHPPHP &gt;=5.4

Since Mar 19Pushed 10y ago3 watchersCompare

[ Source](https://github.com/atomasevic/mxlogin)[ Packagist](https://packagist.org/packages/atomasevic/mxlogin)[ RSS](/packages/atomasevic-mxlogin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

MXLogin
=======

[](#mxlogin)

[![Build Status](https://camo.githubusercontent.com/5d81626ebdd941821f4a3c8c81287ee14a74e955f39862a8cbc8233fdb623ac3/68747470733a2f2f7472617669732d63692e6f72672f61746f6d6173657669632f6d786c6f67696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/atomasevic/mxlogin) [![Latest Stable Version](https://camo.githubusercontent.com/764f387c1de5ddf6eca47ec15d0b02d9258aa669384bafdcccb0506ebc555239/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d6173657669632f6d786c6f67696e2f762f737461626c65)](https://packagist.org/packages/atomasevic/mxlogin) [![Total Downloads](https://camo.githubusercontent.com/972a5b3911033ffa8e5ff9631738f113022055d4c4569fe17574a416d0824f37/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d6173657669632f6d786c6f67696e2f646f776e6c6f616473)](https://packagist.org/packages/atomasevic/mxlogin) [![License](https://camo.githubusercontent.com/cfe056c45c5f8021a096cdffc80223faf0c18ca5af11b8f2e4efef2a1d64197c/68747470733a2f2f706f7365722e707567782e6f72672f61746f6d6173657669632f6d786c6f67696e2f6c6963656e7365)](https://packagist.org/packages/atomasevic/mxlogin)
Improve your registration/signup pages with links to user's email provider inbox.
Don't just tell users to check their Gmail - give them a link.

[![](https://camo.githubusercontent.com/17429f05c447d1ef1e1761f0c8d914df02cfb365323c6d600ef83b3502d5e0dd/687474703a2f2f692e696d6775722e636f6d2f35515a4b7770392e706e673f31)](https://camo.githubusercontent.com/17429f05c447d1ef1e1761f0c8d914df02cfb365323c6d600ef83b3502d5e0dd/687474703a2f2f692e696d6775722e636f6d2f35515a4b7770392e706e673f31)

How does it work?
=================

[](#how-does-it-work)

MXLogin is checking MX records for the given email address and maps them to one of supported email providers.
This way it can recognize your organization is using Google Mail even if your email address doesn't end with gmail.com. &lt;/br /&gt; Besides login urls, you can make sure your users didn't do a typo (gimail.com instead of gmail.com) by [catching errors](#throw-new).

Supported email providers
=========================

[](#supported-email-providers)

- Gmail
- Yahoo
- Hotmail
- Outlook
- AOL
- Mail.com
- Mail.ru
- Mailinator
- T-Com.hr
- Iskon.hr

[Need more?](#contribute)

How to install (Composer)
=========================

[](#how-to-install-composer)

```
composer require atomasevic/mxlogin

```

or add to your project's composer.json

```
"require": {
    "atomasevic/mxlogin": "~1.0.1"
}

```

How to use
==========

[](#how-to-use)

```
