{"repo":"maize-tech/laravel-magic-login","free":true,"listed":false,"github":"https://github.com/maize-tech/laravel-magic-login","clone":"git clone https://github.com/maize-tech/laravel-magic-login.git","description":"Easily add passwordless authentication into your application","language":"PHP","stars":181,"topics":["authentication","laravel","login","magic-auth","magic-login","passwordless"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Laravel Magic Login Easily add passwordless authentication into your application. Installation You can install the package via composer: You can publish the config and migration files and run the migrations with: This is the contents of the published config file: Usage Basic To use the package, all you have to do is include the magic link route in your routes file. By default, you should include it under routes/web.php : That's it! Once done, you can already generate an invitation link to any model extending the Authenticatable class using the make method: Email notifications Send an email notification Optionally, you may also automatically send an email notification to the given user using the send method: which is equals to using the make method with the notify parameter set to true : Customize the notification class When needed, you can customize the email notification. All you have to do is create your own notification and override the default MagicLinkNotification class: Finally, you can update the notification attribute under config/magic-login.php with the new class path. Force single link When enabled, users can only have one valid link at a time. This means that when a new link is created, all previously created links are invalidated. To enable this option, you can set the force single attribute under config/magic-login.php to true . Magic link generator options The package offers many useful parameters for the make method to allow you customizing every single magic ","default_branch":null,"files":null,"tree":[],"storefront":"/r/maize-tech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maize-tech/laravel-magic-login/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."}