Download the PHP package laravolt/auth without Composer

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

laravolt/auth

https://travis-ci.org/laravolt/auth https://coveralls.io/github/laravolt/auth SensioLabsInsight

Laravel authentication with some additional features:

Installation

Configuration

Captcha

If you enable captcha (by setting 'captcha' => true in config file), please add following entries to .env:

You can obtain them from www.google.com/recaptcha/admin.

Custom Login Form

Modify Form (View File)

Run php artisan vendor:publish --provider="Laravolt\Auth\ServiceProvider". You can modify the view located in resources/views/vendor/auth/login.blade.php.

Modify Logic

Create new class to handle user login that implements Laravolt\Auth\Contracts\Login contract. You must implement two method related to registration:

  1. rules(Request $request) to get validation rules.
  2. credentials(Request $request) to check valid credentials. optionally:
  3. authenticated(Request $request, $user) to handle after login, it should be returned \Illuminate\Http\Response or null
  4. failed(Request $request) to handle custom failed response

Custom Registration Form

Sometimes you need to modify registration form, e.g. add more fields, change logic, or add some validation. There are several way you can accomplish those.

Modify Form (View File)

Run php artisan vendor:publish --provider="Laravolt\Auth\ServiceProvider". You can modify the view located in resources/views/vendor/auth/register.blade.php.

Modify Logic

Create new class to handle user registration that implements Laravolt\Auth\Contracts\UserRegistrar contract. You must implement two method related to registration:

  1. validate($data) to handle validation logic.
  2. register($data) to handle user creation logic. optionally:
  3. registered(Request $request, $user) to handle after registration is completed, it should be returned \Illuminate\Http\Response or null

Modify Activation Logic

add Laravolt\Auth\Contracts\ShouldActivate implementation to your registration.implementation class by add these function to your registrar class.

  1. notify(Model $user, $token)
  2. activate($token)

After that, you must update auth config (located in config/laravolt/auth.php, if not, just run php artisan vendor:publish).

LDAP

Environment Variables


All versions of auth with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
illuminate/support Version 5.6.*|5.7.*|5.8.*|^6.0
illuminate/auth Version 5.6.*|5.7.*|5.8.*|^6.0
illuminate/mail Version 5.6.*|5.7.*|5.8.*|^6.0
anhskohbo/no-captcha Version ^3.0.1
doctrine/dbal Version ~2.5
laravolt/ui Version ~0.5
laravolt/password Version ^1.6
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 laravolt/auth contains the following files

Loading the files please wait ....