PHPackages                             naythukhant/laravel-dev-login - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. naythukhant/laravel-dev-login

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

naythukhant/laravel-dev-login
=============================

A laravel package to login during development with one click

019PHP

Since Jun 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/NayThuKhant/laravel-dev-login)[ Packagist](https://packagist.org/packages/naythukhant/laravel-dev-login)[ RSS](/packages/naythukhant-laravel-dev-login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Add easy login function during development
==========================================

[](#add-easy-login-function-during-development)

When we are developing a laravel app, we might need to enter email + password combination to login to our system during development stage and that may make developer himself to be annoyed.

This package can help you to overcome those problems by providing the following component.

```

```

Once the user click the button generated by the x-dev-login component, you are authenticated as your desired user account.

You can also pass attributes to the components as following.

```

```

The definitions of the component attributes are as follows.

- identifier - value to be used to be authenticated (mostly user email)
- identifier-column - mysql column to be validated with identifier mentioned above.
- redirect-url - url to be redirected after authenticating the user
- label - label to show on button
- guard - guard to be used when trying to authenticate
- class - class for the component blade

Note
====

[](#note)

All the attributes listed above are optional and the very first user in the table will be used to be authenticated by default if no attribute is passed.

Installation
------------

[](#installation)

You can install the package via composer.

```
composer require naythukhant/laravel-dev-login
```

Optionally, you can publish the config file with:

```
php artisan vendor:publish --tag="dev-login"
```

Here is how to override the package.

```
