2017 © Pedro Peláez
 

package domainos

A laravel package for blacklisting or whitelisting specific email providers or domains

image

mojoblanco/domainos

A laravel package for blacklisting or whitelisting specific email providers or domains

  • Monday, November 6, 2017
  • by mojoblanco
  • Repository
  • 2 Watchers
  • 17 Stars
  • 1,241 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 5 Versions
  • 46 % Grown

The README.md

Domainos

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A laravel package for allowing or blocking specific email domains, (*2)

Installation

Open your terminal or command prompt, go to the root directory of your Laravel project, then follow the following steps., (*3)

  1. Run, (*4)

    composer require mojoblanco/domainos 
    
  2. Add the provider to the providers array in config/app.php, (*5)

    If you are using laravel 5.5, you don't need to place the code below, (*6)

    Mojoblanco\Domainos\DomainosServiceProvider::class,
    
  3. Run composer dump-autoload, (*7)

  4. Publish the config file, (*8)

    php artisan vendor:publish --provider="Mojoblanco\Domainos\DomainosServiceProvider" --tag="config"
    

Usage

  1. Go to the config/domainos.php file and customize it.
    There are two options;
    block is for blacklisting domains,
    allow is for whitelisting., (*9)

  2. Go to the validation of the email address and add the following, (*10)

'email' => 'domainos:allow'
  1. Test the validation

Notice

This package can be very useful when you want to prevent or allow specific email addresses during user registration., (*11)

How can you thank me?

You can like this repo, follow me on github and twitter Thanks., (*12)

The Versions

06/11 2017

dev-master

9999999-dev https://github.com/mojoblanco/domainos

A laravel package for blacklisting or whitelisting specific email providers or domains

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

laravel security domains emails mojoblanco

06/11 2017

1.1.2

1.1.2.0 https://github.com/mojoblanco/domainos

A laravel package for blacklisting or whitelisting specific email providers or domains

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

laravel security domains emails mojoblanco

15/05 2017

1.1.0

1.1.0.0 https://github.com/mojoblanco/domainos

A laravel package for allowing or blocking specific email domains

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0

 

laravel security domains emails mojoblanco

07/05 2017

dev-dev

dev-dev

A laravel package for allowing or blocking specific email domains

  Sources   Download

MIT

by John Olawale

07/05 2017

1.0.0

1.0.0.0

A laravel package for allowing or blocking specific email domains

  Sources   Download

MIT

by John Olawale