cdz/laravel-auth

Laravel Package to scaffold all of the files required for authentication customization.

v1.0 2018-11-05 12:05 UTC

This package is auto-updated.

Last update: 2024-11-06 10:21:08 UTC


README

Laravel Package to scaffold all of the files required for authentication customization.

Requirements

Laravel >= 5.5

Dependencies

laravel-bootstrap >= 1.1

What does this imply by default?

  • Laravel Email Verification System
  • An additional firstname field for registration
  • Soft Deleting for the User Model
  • Custom templates and translations (EN /FR) for both authentification views and emails
  • Automatically install Bootstrap library (v3.3.7)

Package Installation

composer require cdz/laravel-auth
composer update

Install and scaffold all of the files

php artisan cdz-auth:install

If you would like to overwrite existing files, use the --force switch:

php artisan cdz-auth:install --force

If you would like to only scaffold the views, use the --views switch (Controllers, Notifications, Middlewares, User Model and routes will remain unchanged):

php artisan cdz-auth:install --views

Dont' forget to migrate after editing your configuration files.

php artisan migrate

Note

Emails translation data are into ressources/lang/[LANG]/messages.php