Title: [Plugin: Prism Syntax Highlighter (detached)] PHP language
Last modified: August 20, 2016

---

# [Plugin: Prism Syntax Highlighter (detached)] PHP language

 *  Resolved [Jacob Tomlinson](https://wordpress.org/support/users/killfall/)
 * (@killfall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/)
 * Hello
 * I was wondering if you are planning on adding any PHP support. There is a fork
   of the original project on github which has added PHP (albeit a little buggy)
   [https://github.com/Aaron3/prism/tree/a1825655c710bcad49a64f18661fb15805cf7dd7](https://github.com/Aaron3/prism/tree/a1825655c710bcad49a64f18661fb15805cf7dd7).
 * I noticed in the plugin folder that there is a vendor directory. Would it be 
   as simple as changing the files in there for the ones from the PHP fork or have
   you modified their content?
 * I’m happy and interested to undertake the work myself to try out the PHP fork
   in your plugin but was hoping you may be able to give me a little information
   to point me in the right direction.
 * Regards
    Jacob
 * [http://wordpress.org/extend/plugins/prism-detached/](http://wordpress.org/extend/plugins/prism-detached/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [apfelbox](https://wordpress.org/support/users/apfelbox/)
 * (@apfelbox)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036611)
 * Hi Jacob,
 * yes, I am planning to add PHP support too.
    I will release a new version of the
   plugin this weekend, and the PHP support will be included.
 * Regards
    Jannik
 *  Plugin Author [apfelbox](https://wordpress.org/support/users/apfelbox/)
 * (@apfelbox)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036615)
 * I just saw: the PHP extension has some modifications for the themes, too.
 * I want to implement it properly, so that additional languages can be loaded quite
   easy. So I will have to postpone the next update until the end of next week.
 * It will include a proper extension loader and make loading the correct files 
   quite easy.
 *  Thread Starter [Jacob Tomlinson](https://wordpress.org/support/users/killfall/)
 * (@killfall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036616)
 * Not a problem, thanks for keepign me posted.
 *  Plugin Author [apfelbox](https://wordpress.org/support/users/apfelbox/)
 * (@apfelbox)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036634)
 * Ok, I just released v1.3
    I refactored the most part of the plugin, but now I
   introduced a new system, which makes it quite easy to include extensions.
 * Please test it out and keep me posted, whether everything is working as expected.
 * I also created and included a plugin containing the PHP language, but it seems
   kind of broken: it double encodes every entity, it transforms every `$this->test()`
   into `$this->()`.
 * It seems that the actual PHP plugin is the cause of it, since it works fine, 
   if it is deactivated.
 *  Plugin Author [apfelbox](https://wordpress.org/support/users/apfelbox/)
 * (@apfelbox)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036635)
 * (PS: don’t miss to check the new (cached) assets loader out. It can improve the
   overall loading performance of your site, if you are using a lot of prism extensions
   in the plugin)
 *  Thread Starter [Jacob Tomlinson](https://wordpress.org/support/users/killfall/)
 * (@killfall)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036639)
 * Excellent. I’ve tested it out and it appears to be working excellently thank 
   you.
 * Have a look at an example here [http://www.jacobtomlinson.co.uk/2012/09/11/ajax-database-tooltip/](http://www.jacobtomlinson.co.uk/2012/09/11/ajax-database-tooltip/)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Prism Syntax Highlighter (detached)] PHP language’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/prism-detached_090c0c.svg)
 * [Prism Syntax Highlighter (detached)](https://wordpress.org/plugins/prism-detached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/prism-detached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/prism-detached/)
 * [Active Topics](https://wordpress.org/support/plugin/prism-detached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/prism-detached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/prism-detached/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jacob Tomlinson](https://wordpress.org/support/users/killfall/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-prism-syntax-highlighter-detached-php-language/#post-3036639)
 * Status: resolved