Well, all good developers know Emacs, so they have necessarily heard of YASnippet (a self automatic expansion template)!
So I told myself that it was fine, but that this would be used for the encoded on drupal? so I seek but I cannot find anything very conclusive:
As they say, it is never better served than to go or even when I have results now and develop a small library of self hook for YASnippet template, auto completion and with the name of the hook (it was just for show yeah)!
For those who have not yet installed it thus:
Once installed and ready your Emacs just stick my librairy php-mode in the directory YASnippet snippet of which is available at this address (in the attachement):