Download the PHP package genealabs/laravel-registrar without Composer

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

This package is retired as of Laravel 5.7. Please use Laravel's Email Verification functionality: https://laravel.com/docs/5.7/verification

Registrar for Laravel

Join the chat at https://gitter.im/GeneaLabs/laravel-registrar

User account activation via email confirmation for Laravel.

Features

Reasoning

After having set up email activations on a few projects now, it became clear that this is something that is going to be used more often, warranting extraction to a package for easy reuse with minimal coding.

Requirements

Installation

Install the package using the following command:

Add the service provider to you app config file /config/app.php:

Add the following trait to your login controller /app/Http/Controllers/Auth/LoginController.php:

And finally, add this trait to your User model:

Usage

Each time a new user is created, an activation token will be added to their record and an email activation notification sent out with a link that will activate their user account by removing the activation token and setting the activation timestamp. The user will then be able to log into their account.

Conditional Activation Notices

To send out the notification email only when a certain condition is met, override the getCanBeActivatedAttribute() method in your User class. By default this method returns true, unless you override it.

Customization

You can customize the notification email by implementing your own Notification class, then overriding the following method in your User class:

To alter the notification template itself, follow the steps outlined in the Laravel documentation: https://laravel.com/docs/5.3/notifications#customizing-the-templates.


All versions of laravel-registrar with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
illuminate/routing Version 5.3 - 5.6
illuminate/view Version 5.3 - 5.6
genealabs/laravel-messenger Version *
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 genealabs/laravel-registrar contains the following files

Loading the files please wait ....