Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone.

Enabling Joomla! Integration in an Existing PhpStorm Project

When you open an existing Joomla! Project in PhpStorm then PhpStorm should detect the fact that you're working on a Joomla! application, and ask you to enable the Joomla! integrations.

 

When we click on Enable, PhpStorm will ask us to browse to the location that the Joomla! codebase is installed, in my case, it was the root of the project I'm working on. It's also worth clicking on the second prompt that asks you if you want to detect the namespace roots; this saves us having to configure the paths for the project manually. If you don't get prompted by the Joomla! Support prompt, you can enable Joomla! support manually by opening the preference pane, and navigating to Languages & Frameworks then PHP and Joomla! Support. 

Once we've enabled the Joomla! support, PhpStorm then asks if we would like to enable the Joomla code styles and if we would like to enable the Joomla! docblock templates. Joomla! has its own rigorous code style and docblocks, so enabling these is always a good idea; we'll learn more about these later.

Creating a New Joomla Module/Plugin/Extension

Development Environment Configuration

Joomla! Include Paths

Joomla! Coding Standard (Code Style)

JHtml::_($argument) and JText::_($argument) support

JHtml::_($argument) support

Support: 

  • All the available methods of JHtml are available in the completion list 
  • Additional tips for required parameters



  • When clicking on the identifying $argument the actual subclass plus method are opened (Ask Andrey to help to reproduce)


JText::_($argument) support

 Databases

 Data source detection

 Database prefix support


Joomla! Doc-blocks standard support

 

 Joomla! CodeSniffer (?)

 Debugging and Profiling Joomla! Applications with PhpStorm

 Joomla!-based projects can be debugged and profiled without any Joomla!-specific configuration.

Please proceed with standard PhpStorm debugging or profiling workflow. For additional details on debugger and profiler configuration, please check this tutorial or relevant videos on the video tutorials page.


Download latest version of PhpStorm for your platform right now >>

  • No labels