Cakephp with Atom

Hello

Does anyone have a sample config file they can share with we to allow .ctp files to be formatted as PHP?

I would like to give atom a try and possible move from my proprietary IDE.

Any other tips for Atom and Cake would be gratefully received.

Hello,

When you open a .ctp file, chose PHP at the bottom/right of Atom :

I suggest to you to install those following plugins with Cake, it will help a lot :
https://github.com/Peekmo/atom-autocomplete-php
https://github.com/AtomLinter/linter-phpcs
You will need to install this plugin first, to get linter-phpcs to work.

Awesome i’ll give those plugins ago.

Although whats weird is I just installed atom on a windows box and happily picks up ctp as php files.

I think I need to double check my atom linux atom install tonight.

Dan