Laravel Community Tools by
Tighten
Laravel Versions
PHP Releases
Nova Packages
Laravel Tricks
Forge Recipes
Toggle navigation
Log in
Log in
Xander
Joined:
12 years ago
Total tricks:
4
Last trick:
12 years ago
Submitted tricks
Debugging
Log queries to FirePHP console with Monolog
Use this trick to log queries using Monolog. Add this to your routes.php and log straight into your Firebug console. Firebug needs the FirePHP add-on. - kisses Netbulae
xtrasmal
12 years ago
12642
database
Requests and Input
Active state macro
Check if the request matches the url. If so, add an active class to the menu item.
xtrasmal
12 years ago
12478
templating
Routing
Internal requests
If you have an API, which you also use on your site..then you might want to get the data from the API by making an internal request.
xtrasmal
12 years ago
19032
database
view data
Requests and Input
AngularJS CSRF token constant
Do not trust the client. Safe way to get CSRF token for use in Angular JS. Keeps it as a constant.
xtrasmal
12 years ago
42015
authentication