{"repo":"imanghafoori1/laravel-anypass","free":true,"listed":false,"github":"https://github.com/imanghafoori1/laravel-anypass","clone":"git clone https://github.com/imanghafoori1/laravel-anypass.git","description":"A minimal package that helps you login with any password on local environments","language":"PHP","stars":215,"topics":["laravel","laravel-utility","laravel-authentication"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Anypass Built with :heart: for every \"lazy\" laravel developer ;) It is always painful to remember and type in the correct password in the login form while you are in development... It would be nice to be able to login with any password in local environment and only by changing the .env variables(not the application code), switch to: \"real password checking\". (This means you do not need to change your application code, when you deploy your app to production while you enjoy the ease in local environments.) Actually the behaviour of the auth()- attempt($credentials); simply changes based on the config variable in the auth.php and .env file! Performance hit: This package is only a few lines (about 20 lines) of code with almost no overhead. It is also completely safe to avoid installing it on production without changing your code. Since it is a dev only dependency in your composer.json file. Config To avoid accidental security vulnerabilities, 3 conditions should match before you can login with any password : in your .env file you must: That way it is very unlikely to accidentally misconfigure your app to accept any wrong password on production server. We highly recommend to take a look to the source code. By default, Anypass will only work if the APP ENV is set to local or testing. You can override this by defining ANY PASS ENVIRONMENTS in your .env file, and setting the value to a comma-separated string of environments. For example: - If you want to manually check the lo","default_branch":null,"files":null,"tree":[],"storefront":"/r/imanghafoori1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/imanghafoori1/laravel-anypass/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}