2017 © Pedro Peláez
 

library entrance

Entrance package for login and password reset

image

intothesource/entrance

Entrance package for login and password reset

  • Friday, September 22, 2017
  • by intothesource
  • Repository
  • 3 Watchers
  • 0 Stars
  • 664 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 26 Versions
  • 1 % Grown

The README.md

Entrance

Full entrance package, including login and password reset., (*1)

Install

composer require intothesource/entrance

After install

ServiceProvider

Add the following line to "config/app.php", (*2)

at "providers":, (*3)

IntoTheSource\Entrance\EntranceServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,

And at "aliases":, (*4)

'Form'      => Collective\Html\FormFacade::class,
'Html'      => Collective\Html\HtmlFacade::class,

Creating the files

Run the following command: (It's using force because the User and Password reset table already exist inside laravel. It will overwrite them.), (*5)

php artisan vendor:publish --force

Migration

Run the command:, (*6)

php artisan migrate

Middleware

Add the following lines to the '$routeMiddleware' array in the file 'App/Http/Kernel.php', (*7)

'checktoken' => \IntoTheSource\Entrance\Http\Middleware\CheckToken::class,
'checklogin' => \IntoTheSource\Entrance\Http\Middleware\CheckLogin::class,

E-Mails

This package sends e-mails. Be sure to configure your mail settings. Set the global FROM adres inside -> config/mail.php, (*8)

Exmaple:
 'from' => ['address' => 'laravel@laravel.com', 'name' => 'LaravelDev'],

See www.laravel.com/docs/master/mail for more info about mail settings., (*9)

Using own email template for password reset mail.

Change the view route inside -> config/entrance.php, (*10)

'mail' => [
            'password_reset' => '<your view here>'
        ]

Authenticate Routes

Add all the routes into this group that requires the users to be logged in., (*11)

Route::group(['middleware' => 'checklogin'], function() {
    <Your routes>
});
Insert basic users (dont forget to change password)

put the following seeds to database/seeds/DatabaseSeeder.php in the run() function
, (*12)

$this->call(MainUserSeed::class);

Run, (*13)

artisan db:seed

The Versions

22/09 2017

dev-master

9999999-dev https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

22/09 2017

1.0.10

1.0.10.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

05/09 2017

1.0.9

1.0.9.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

05/09 2017

1.0.8

1.0.8.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

17/06 2016

1.0.7

1.0.7.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

13/05 2016

1.0.6

1.0.6.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

13/05 2016

1.0.5

1.0.5.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

09/05 2016

1.0.4

1.0.4.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

09/05 2016

1.0.3

1.0.3.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

09/05 2016

1.0.2

1.0.2.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

05/01 2016

1.0.1

1.0.1.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource intothesource entrance

26/11 2015

1.0.0

1.0.0.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

26/11 2015

0.2.5

0.2.5.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

26/11 2015

0.2.4

0.2.4.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

26/11 2015

0.2.3

0.2.3.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

25/11 2015

0.2.2

0.2.2.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

25/11 2015

0.2.1

0.2.1.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

23/11 2015

0.2.0

0.2.0.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

12/11 2015

0.1.19

0.1.19.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

12/11 2015

0.1.18

0.1.18.0 https://github.com/intothesource/laravel-entrance

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

12/11 2015

0.1.16

0.1.16.0 https://github.com/intothesource/laravel-users

Entrance package for login and password reset

  Sources   Download

BSD-2

The Requires

 

laravel password login reset thesource in to the source intothesource entrance

12/11 2015

0.1.15

0.1.15.0

entrance package

  Sources   Download

BSD-2

The Requires

 

29/10 2015

0.1.14

0.1.14.0

entrance package

  Sources   Download

BSD-2

The Requires

 

29/10 2015

0.1.13

0.1.13.0

entrance package

  Sources   Download

BSD-2

The Requires

 

05/10 2015

0.1.12

0.1.12.0

entrance package

  Sources   Download

The Requires

 

05/10 2015

0.0.1

0.0.1.0

entrance package

  Sources   Download

The Requires