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
my-file-example.php
You'll come across packages using filenames as
class.phpmailer.php or ImapMailbox.php
(both containing classes with ClassName {})
(Personally, I use camelCase heavily for fnames, from var-habits i guess. )