Download the PHP package jersyfi/laravel-verify-email without Composer

On this page you can find all versions of the php package jersyfi/laravel-verify-email. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-verify-email

E-Mail Verification for Laravel

Packagist Downloads Packagist Version GitHub License

Simple designed email verification based on the laravel email verification features. Verify Email publishes the scaffolding to your laravel application that can be easily customized based on your own application's needs. The easiest way is to use laravel breeze because it is designed the same way.

It is suggested to use laravel breeze but you don't need to. When you are not using the suggested package please get familiar with laravel email verification before starting here.

Installation

It is also easy to install this package.

Prepare your application

The user model needs to use the trait MustVerifyNewEmail. Also it is necessary to override the default function sendEmailVerificationNotification.

In the routes you need to add the following example. You are free to customize your route name but keep in mind to update it in your config or in your auth trait MustVerifyNewEmail. The redirect route after verification can be changed in config or in the controller VerifyNewEmailController.

At least you need to migrate the %_create_pending_user_emails.php migration.

Configuration

The configuration can be made in the config file verify-email or in the published files. All config values have there used file path.

For the verification url the route.for is required or go to app/Traits/Auth/MustVerifyNewEmail and change it in function verificationUrl. When calling the varification link the route.after is required to redirect or go to app/Http/Controllers/Auth/VerifyNewEmailController and change it in function __invoke.

You can decide if the user's verification status resets on every email change or go to app/Traits/Auth/MustVerifyNewEmail and change it in function newEmail.

You can change the active time of the verification link with a number in minutes or go to app/Traits/Auth/MustVerifyNewEmail and change it in function verificationUrl.

Usage

When you want to change to user's email you can call the user function syncEmail.

If you need to get the pending email you can call the user function getPendingEmail.

In case you need to clear the user's pending email call clearPendingEmail.

Changelog

Please see CHANGELOG for more information what has changed recently.

Credits

This package was inspired by the Laravel Verify New Email package by Protone Media.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-verify-email with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
laravel/framework Version ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jersyfi/laravel-verify-email contains the following files

Loading the files please wait ....