Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Use a file extension other than ".php"

Hi, Usually PHP applications made with Phalcon are structured in order to operate with ".php extension" files. I'd like to have all Controllers, Models and "personal" library classes with the ".inc" file extension. Also, I'd like to be able to create my personal library classes with the following file naming standard: .

Is that possible with Phalcon?

Thank you

Phalcon has no bearing on whether this is possible or not (it is). Just do a Google search for something like "change extension of PHP files" - that should get you some answers.


Hmmm, now that I think about it - the autoloader might require the ".php" extension. Sorry.


Ok, thank you. No problem, I'll use .php.