Download the PHP package ageekdev/dev-login without Composer
On this page you can find all versions of the php package ageekdev/dev-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ageekdev/dev-login
More information about ageekdev/dev-login
Files in ageekdev/dev-login
Package dev-login
Short Description Developer Login for Laravel
License MIT
Homepage https://github.com/ageekdev/laravel-dev-login
Informations about the package dev-login
Laravel Developer Login
This package allows you to login the developer associate actions (e.g.log views).
Installation
You can install this package via composer using this command:
The package will automatically register itself.
After installing Dev Login, you may publish its assets using the dev:install
Artisan command:
Setup developer account
Setup new dev user account.
USAGE
Dev Login default login URI is the /dev/login
.
UseDevLoginGuard Middleware
Laravel official packages uses $request->user()
to get the user in gate. The default guard is user
guard. So You can use UseDevLoginGuard middleware to override this behaviour.
Telescope
You must replace Authorize
with UseDevLoginGuard
middleware applied to Telescope routes in telescope.middleware config value.
config/telescope.php
Vapor UI
You must replace EnsureUserIsAuthorized
with UseDevLoginGuard
middleware applied to Vapor routes in vapor-ui.middleware config value.
config/vapor-ui.php
Testing
You can run the tests with:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.