This may not be complete but it's a good start.
chown -R user:group .
find . -type f -exec chmod 0664 {} \;
find . -type d -exec chmod 2755 {} \;
chmod 775 storage/logs
chmod 775 storage/framework/sessions
chmod 775 storage/framework/cache
chmod 775 storage/framework/views