: This article describes how to use phpstorm to develop php programs in ubuntu. For more information about PHP tutorials, see.
Use phpstorm in ubuntu to develop php programs
1. install JDK
Phpstorm requires the java runtime environment, so the first step is to install jdk.
sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install Oracle-java7-installer
2. download the latest phpstorm version.
:http://www.jetbrains.com/phpstorm/download/index.html
3. decompress
tar xfz xxxx.tar.gz
4. go to the directory and execute the installation script
cd phpstorm*cd bin./phpstorm.sh
5. activate phpstorm
Phpstorm is also a product developed by IDEA. here we use the online registration method.
Online registration code address: http://appcode.aliapp.com/
6. install the laravel plugin
After opening phpstorm, Choose file> Settings> Plugins and click Browse repositories... Click and search for Laravel. Install plugin to download and Install the plug-in to the IDE.
Restart the IDE and Enable the plug-in (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, and so on!
Of course, it's not just code automation. use Ctrl + Click (CMD + Click Mac OS x) or Go To Declaration (To definition) (Ctrl + B/CMD + B ), phpStorm will navigate to it, such as the Declaration of configuration items.
The Laravel plug-in can also improve the user experience by using the Blade template. for example, the @ section command automatically completes the car change.
End...
Enjoy coding!
The above is the content of php program development using phpstorm in ubuntu. For more information, see PHP Chinese network (www.php1.cn )!