It looks a quite magic that the web-mode could mix with php mode. A major mode could contain another major mode. This seems amazing.
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode))
If I have a file named "portal.blade.php", how does web-mode recognize the internal php code?