{"repo":"fumeapp/humble","free":true,"listed":false,"github":"https://github.com/fumeapp/humble","clone":"git clone https://github.com/fumeapp/humble.git","description":"passwordless authentication and detailed sessioning for laravel","language":"PHP","stars":15,"topics":["laravel","php","authentication"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Ideal Sessioning and authentication for Laravel Features Passwordless authentication Ability to store and compare a cookie, securing the magic link sent out Link expiration Able to store \"action\" objects passed through for completing tasks the user was doing before prompted Detailed sessions using whichbrowser Detailed location using lyften's adapter for GeoIP2 Installation Install humble with composer: Add Humble's trait to your user model: Publish Humble's migrations (sessions table) Run the migration Change your guard in your config, to the 'humble' guard in config/auth.php , in my case since I mainly use Laravel as an API Check your defaults as well, if it's not api, you'll need to change that If your user class is not App\\Models\\User , we need to tell humble what it is: Publish Humble's configuration Modify config/humble.php and specify your user class Usage Humble is similar to Laravel Sanctum in the way you can also assign abilties to sessions. Primarily humble sessions are stored for user sessions which by default would inherit all session abilities. You can also think of Humble Session as Personal Access Tokens, inside your application your users could create multiple session tokens for various services and integrations like: GitHub actions, CLI Applications, Slack Tokens, etc... With these addtional session tokens your users can create, you still have access to the session source where you can attach certain Gates & Policy behaviors based on that. If your are fine w","default_branch":null,"files":null,"tree":[],"storefront":"/r/fumeapp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fumeapp/humble/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."}