using Phpstorm to develop PHP programs under Ubuntu
First, install the JDK
Phpstorm requires a Java runtime environment, so the first step is to install the JDK.
sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get Install Oracle-java7-installer
Second, the official download Phpstorm the latest version
Download Address: http://www.jetbrains.com/phpstorm/download/index.html
Third, decompression
Tar Xfz xxxx.tar.gz
Iv. Enter the directory and execute the installation script
CD PHPSTORM*CD bin./phpstorm.sh
V. Activation of Phpstorm
Phpstorm is also a product developed by idea, where we use the online registration method.
Online Registration code Address: http://appcode.aliapp.com/
Vi. Installing the Laravel plug-in
After opening phpstorm, click Browse Repositories in File--, Settings, Plugins ... button and search for Laravel. The Install Plugin button downloads and installs the plugin to the IDE.
Restart the IDE and enable plugins (Settings (Preferences) | Other Settings | Laravel Plugin | Enable Plugin for this Project). Phpstorm knows what the Laravel interface does and provides code completion functions (Controllers,views, routes, configuration, translations, etc.)!
Of course not only is the code auto-complete, using Ctrl+click (Cmd+click Mac OS X) or go to Declaration (goto definition) (ctrl+b/cmd+b), Phpstorm will navigate there, such as the declaration of the configuration item.
With the Blade template, the Laravel plugin can also improve the experience, such as: automatic completion of @section instructions.
End ...
Enjoy coding!
The above is Ubuntu under the use of Phpstorm development PHP program content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!