Skip to content

Instantly share code, notes, and snippets.

@johndavedecano
Last active October 15, 2018 14:22
Show Gist options
  • Save johndavedecano/5d264b896596dfdd7f1c88da73b8e42b to your computer and use it in GitHub Desktop.
Save johndavedecano/5d264b896596dfdd7f1c88da73b8e42b to your computer and use it in GitHub Desktop.
laravel authentication primer
Laravel Authentication Primer
1. Objective - to learn how to secure your web apps by adding authentication system with laravel framework.
2. Pre Requisite - Basic PHP or Laravel Knowledge
3. Introduction
- What is authentication?
- Different kinds of authentication.
- Session based
- Token Based
- Whats the difference between authorization and authentication?
- Whats the difference between roles and permissions?
4. How to add authentication to your existing laravel application
Clone the sample repository
Create database
Migrate Database
Seed Database
Run auth related commands
Secure the pages
Implementing gates
Integrate Socialite e.g facebook login
Conclusion
Question
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment