PHP Shit I’m Tired Of Looking Up

General

What’s the default MySQL format for date()

"Y-m-d H:i:s"

Source: Stack Overflow

Laravel

How to find the current route name in laravel?

\Request::route()->getName()

Source : Stack Overflow

What are the appropriate file permissions for Laravel?

sudo chgrp -R www-data storage bootstrap/cache 

sudo chmod -R ug+rwx storage bootstrap/cache

Source: Laracasts