PHPackages                             attla/disposable - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. attla/disposable

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

attla/disposable
================

A PHP Laravel to validate disposable emails.

113PHP

Since Mar 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/attla/disposable)[ Packagist](https://packagist.org/packages/attla/disposable)[ RSS](/packages/attla-disposable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Attla disposable email checker
==============================

[](#attla-disposable-email-checker)

[![License](https://camo.githubusercontent.com/891419a00e04aa0e311068fa8a04eec92cab4f7026c76278279bf2a1da50e578/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667)](LICENSE)[![Latest Stable Version](https://camo.githubusercontent.com/73ad1833328f9431617f2b42e3169c9f80b42b5428c4d8e6772ab38cdb93da7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6174746c612f646973706f7361626c65)](https://packagist.org/packages/attla/disposable)[![Total Downloads](https://camo.githubusercontent.com/fc6e96e1749ae0766176612ef9d00812be915984f33f5c203904a67d1e565f75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6174746c612f646973706f7361626c65)](https://packagist.org/packages/attla/disposable)

A Laravel Wrapper for the [Validator.pizza](https://www.validator.pizza) disposable email API.

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

[](#installation)

```
composer require attla/disposable
```

Usage
-----

[](#usage)

#### Controller Validation

[](#controller-validation)

```
namespace App\Http\Controllers;

use Illuminate\Http\Request;

class HomeController extends Controller
{
    public function handleEmail(Request $request)
    {
        $request->validate([
            'email' => 'required|email|disposable',
        ]);

        // ...
    }
}
```

#### Standalone

[](#standalone)

```
$checker = new \Attla\Disposable\Checker;

// Validate Email
$validEmail = $checker->allowedEmail('lucas@octha.com');

// Validate Domain
$validDomain = $checker->allowedDomain('octha.com');
```

### Testing

[](#testing)

```
composer test
```

License
-------

[](#license)

This package is licensed under the [MIT license](LICENSE) © [Octha](https://octha.com).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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/682727?v=4)[Andre Goncalves](/maintainers/nicolau)[@nicolau](https://github.com/nicolau)

---

Top Contributors

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

---

Tags

attladisposabledisposable-emaillaravel

### Embed Badge

![Health badge](/badges/attla-disposable/health.svg)

```
[![Health](https://phpackages.com/badges/attla-disposable/health.svg)](https://phpackages.com/packages/attla-disposable)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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