Naming php files

前端 未结 6 803
闹比i
闹比i 2021-02-02 14:08

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

6条回答
  •  南旧
    南旧 (楼主)
    2021-02-02 14:40

    There is no really convention for PHP files.

    You just should keep the same in your project.

    I recommand you to use camelCase.

提交回复
热议问题