Download the PHP package jrean/laravel-user-verification without Composer

On this page you can find all versions of the php package jrean/laravel-user-verification. 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-user-verification

Laravel User Verification

A PHP package built for Laravel to easily handle user verification and email validation.

Latest Stable Version Total Downloads License

Features

Laravel Compatibility

Laravel Version Package Version
5.0. - 5.2. 2.2
5.3.* 3.0
5.4.* 4.1
5.5.* 5.0
5.6.* 6.0
5.7. - 5.8. 7.0
6.0.* 8.0
7.0. - 11.0. Use master or check below:
7.0.* master
8.0.* 9.0
9.0.* 10.0
10.0.* 11.0
11.0.* 12.0
12.0.* 13.0

This package is now Laravel 12.0 compliant with v13.0.0.

Installation

Via Composer

Register Service Provider & Facade

Add the service provider to config/app.php. Make sure to add it above the RouteServiceProvider.

Optionally, add the facade:

Publish Configuration

Database Configuration

The package requires adding two columns to your users table: verified and verification_token.

Run Migrations

Or publish and customize the migrations:

Middleware

Default Middleware

Register the included middleware in app/Http/Kernel.php:

Apply it to routes:

Custom Middleware

Email Configuration

Default Email View

The package includes a basic email template. The view receives a $user variable containing user details and the verification token.

Customize Email View

Publish the views:

The views will be available in resources/views/vendor/laravel-user-verification/.

Markdown Email Support

To use Markdown instead of Blade templates, update the user-verification.php config:

Email Sending Methods

Usage

Routes

The package provides two default routes:

Required Trait

Add the VerifiesUsers trait to your registration controller:

Integration Example

Here's a typical implementation in RegisterController.php:

Auto-Login After Verification

Enable auto-login after verification in the config:

Translations

Publish translation files:

API Reference

Core Methods

Model Traits

Add the UserVerification trait to your User model for these methods:

Error Handling

The package throws the following exceptions:

License

Laravel User Verification is licensed under The MIT License (MIT).


All versions of laravel-user-verification with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.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 jrean/laravel-user-verification contains the following files

Loading the files please wait ....