How to use html snippets in a source php


I create an index.php file, when i do !+tab, nothing happens. The same for header.header + tab.
For these last i would find:

like in an index.html instead i have .header This is the first time that i am trying Atom, i use generaly sublime text or PhpStorm and i don't have problem wit emmet snippets for an index.html or index.php.

Is there someone for helping me ?
Thanks a lot
Best regards


The emmet package is a community package that may not be set up to work in PHP files. I don’t use it, so I can’t offer any insight, but I encourage you to engage with the package maintainers if there are any features you would like to see. However, you can easily change the active grammar (in the status bar, on the right-hand side, you’ll see the word PHP, click on it, and type in HTML) and then switch back when you’re ready to start writing PHP.