I need clear information about laravel API.
I've been reading lots of articles about laravel API. Beside choosing between JWT and laravel-passport—which is a whole different level of confusion—I need to get basic information about laravel API to make it clearer to me what's what.
Questions
- Why does laravel passport need a database (what's the usage of those tables)?
- If I change auth driver to passport in authProvider file, and not use api, would it affect my normal auth behavior?
- If i use API (passport) do I have to use laravel-echo or any js library?