PHPackages                             ronaldcastillo/imap-authentication - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ronaldcastillo/imap-authentication

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ronaldcastillo/imap-authentication
==================================

0315PHP

Since Jul 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ronaldcastillo/imap-authentication)[ Packagist](https://packagist.org/packages/ronaldcastillo/imap-authentication)[ RSS](/packages/ronaldcastillo-imap-authentication/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 4 IMAP Authentication Package
=====================================

[](#laravel-4-imap-authentication-package)

---

Provides an IMAP authentication provider for the Laravel 4 framework

---

Installation
------------

[](#installation)

Add the following lines to your composer.json file:

```
"require": {
    "ronaldcastillo/imap-authentication": "dev-master"
}

```

Now, run composer update on the command line from your project's root directory:

```
composer update

```

### Registering the package

[](#registering-the-package)

Add the following Service Provider to your providers array in `app/config/app.php`:

```
'providers' => array(
    'RonaldCastillo\Imap\ImapServiceProvider'
)
```

### Update Laravel's authentication driver configuration

[](#update-laravels-authentication-driver-configuration)

Change your driver to `'imap'` in `app/config/auth.php`:

```
'driver' => 'imap',
```

### Publish the configuration files

[](#publish-the-configuration-files)

Run this on the command line from the root of your project:

```
php artisan config:publish ronaldcastillo/imap-authentication

```

This will publish the necessary configuration to `app/config/ronaldcastillo/imap-authentication/`.

Within the configuration files we have two options:

```
return array(
    'identifier' => 'username',
    'datasource' => '{localhost:143}/readonly'
);
```

The `identifier` indicates the name of the field that will be used as the username for the authentication, while the `datasource` value is as specified in the php manual for the [imap\_open()](http://php.net/imap_open) function.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2471622?v=4)[Ronald Castillo](/maintainers/ronaldcastillo)[@ronaldcastillo](https://github.com/ronaldcastillo)

---

Top Contributors

[![ronaldcastillo](https://avatars.githubusercontent.com/u/2471622?v=4)](https://github.com/ronaldcastillo "ronaldcastillo (9 commits)")

### Embed Badge

![Health badge](/badges/ronaldcastillo-imap-authentication/health.svg)

```
[![Health](https://phpackages.com/badges/ronaldcastillo-imap-authentication/health.svg)](https://phpackages.com/packages/ronaldcastillo-imap-authentication)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
