Is there any convention for naming php files?
Not talking about php class files, but files that are mostly HTML with some php inside them.
Should it be my-file-example.php
There is no specific for the core php files you have to use your own naming convention, but you can name on the bases of you file work.
Like php file is only display the html then give my_file_view.php
if it has database operation then my_file_db.php
and so on for the function and for other specification you can use it.