PHP Shit I’m Tired Of Looking Up


What’s the default MySQL format for date()

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

Source: Stack Overflow


How to find the current route name in laravel?


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