Download the PHP package selim-salihovic/verifi without Composer

On this page you can find all versions of the php package selim-salihovic/verifi. 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 verifi

Laravel Verifi

Travis Packagist Packagist Packagist

A Laravel package to handle email verification.

It is inspired by crypto-based password resets and the email verification package by josiasmontag.

Installation

Install this package via Composer.

You must install both the service provider and the facade.

A migration is provided to add a is_email_verified column to the existing users table, you can publish the migration.

Remember to run the following command if you published the migration.

A configuration file is also provided, you can publish the configuration.

Configuration

expiration

1440 (in minutes, 24 hours) set by default.

verify_route

/verify set by default. Change the value if you're using a different route for verification.

send_notifications

true set by default. Let this package send an email notification automatically after the registration complete.

How to Use (Step by Step)

Step One

  1. The User model must implement Meness\Verifi\Entities\Traits\Contracts\Verifi interface.

  2. Add Meness\Verifi\Entities\Traits\VerifiTrait as a trait if you're going to use the default notification.

Note: Some methods are not implemented, you must do it yourself.

Step Two

You're free to create routes, because there're no default routes provided with this package.

Note: Remember to change the verify_route value if you're not going to use the default route.

Step Three (Optional)

Create listeners for necessary events. There're three events provided with this package: InvalidCredentials, VerificationSent, and Verified.

Step Four

There're two methods available, verify() and resend().

Note: An email verification will be sent after the registration complete if send_notifications set true, so you're not required to do it manually.

verify()

Verifi::verify() expects a request object and an optional callback. It verifies credentials provided with the request.

resend()

Verifi::resend() expects an user model object and an optional callback. It sends the verification email to the provided user.

Step Five (Optional)

There's a middleware called IsEmailVerified to determine if the user's email address is verified.

Changelog

Please see releases for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

Verifi is open-sourced software licensed under the MIT license.


All versions of verifi with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
illuminate/contracts Version ~5.4
illuminate/queue Version ~5.4
illuminate/auth Version ~5.4
illuminate/bus Version ~5.4
illuminate/notifications Version ~5.4
illuminate/support Version ~5.4
illuminate/database Version ~5.4
nesbot/carbon Version ~1.22
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 selim-salihovic/verifi contains the following files

Loading the files please wait ....