Skip to content

Instantly share code, notes, and snippets.

@atishgoswami
Last active October 26, 2016 23:46
Show Gist options
  • Select an option

  • Save atishgoswami/6365340 to your computer and use it in GitHub Desktop.

Select an option

Save atishgoswami/6365340 to your computer and use it in GitHub Desktop.
Laravel Snipps
http://cheats.jesse-obrien.ca/
https://gist.github.com/anchetaWern/4223764
https://medium.com/on-coding/e8d93c9ce0e2
http://laravelbook.com/laravel-user-authentication/
https://github.com/formativ/tutorial-laravel-4-authentication
/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php -> view paths for the cascading views, config, lang
only var_dump() paths variable -- don't exit!!
$permissions = Config::get('permissions');
return dd(Sentry::getUser());
dd(str_replace('\\', '', Route::currentRouteAction()));
return Sentry::getUser();
return Sentry::getUser()->hasAccess(str_replace('\\', '', Route::currentRouteAction()));
return dd(Route::currentRouteAction());
dd(Route::currentRouteNamed(Route::currentRouteName()));
return dd(Route::currentRouteNamed(Route::currentRouteName()));
var_dump(Route::currentRouteUses());
return Sentry::getUser();
some info on the request....
====================Package List==========================
http://laravelbook.github.io/ardent/ -> Elequent substitute
https://packagist.org/packages/thujohn/twitter -> Twitter Package
https://packagist.org/packages/frozennode/administrator -> Admin CRUD package
https://github.com/MrJuliuss/syntara/ -> Sentry UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment