php-mode-extra-constants offers a way to define more constants

you can add
(setq php-mode-extra-constants
      '("DOC_URL")) in your .emacs