Skip to content

Instantly share code, notes, and snippets.

@rolldone
Last active April 28, 2020 07:52
Show Gist options
  • Save rolldone/e938f732fd7cc2b367dee4d0ab99275e to your computer and use it in GitHub Desktop.
Save rolldone/e938f732fd7cc2b367dee4d0ab99275e to your computer and use it in GitHub Desktop.
Laravel Jutsu Collection and PHP
A simpler, secure solution for Laravel API token-based authentication tanpa jwt, passport
https://itnext.io/a-simpler-secure-solution-for-laravel-api-token-based-authentication-82b582272770
Set default progmramatic guard better for api
Auth::setDefaultDriver('api');
Mengetahui funngsi ini berasal dari override class
if(get_class() != get_called_class()){}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment