Home  >  Article  >  Backend Development  >  Use phpstorm to develop php programs under ubuntu

Use phpstorm to develop php programs under ubuntu

PHP中文网
PHP中文网Original
2016-07-30 13:30:151709browse

Use phpstorm to develop php programs under ubuntu

1. Install JDK
phpstorm requires a java operating environment, so the first step is to install jdk.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install Oracle-java7-installer

2. Officially download the latest version of phpstorm

下载地址:http://www.jetbrains.com/phpstorm/download/index.html

3. Unzip

tar xfz xxxx.tar.gz

4. Enter the directory and execute the installation script

cd phpstorm*cd bin
./phpstorm.sh

5. Activate phpstorm
phpstorm is also developed by IDEA Products, here we use online registration.

在线注册码地址:http://appcode.aliapp.com/

6. Install the laravel plug-in
After opening phpstorm, click the Browse repositories... button in file -> Settings -> Plugins and search for Laravel. The Install plugin button will download and install the plug-in to the IDE.

Restart the IDE and enable it Plugins (Settings (Preferences) | Other Settings | Laravel Plugin | Enable Plugin for this Project). PhpStorm knows what Laravel's interface does, and provides code completion for (controllers, views, routes, configuration, translations, etc.)!

Of course, it’s not just code completion. Using Ctrl+Click (CMD+Click Mac OS X) or Go To Declaration (Ctrl+B / CMD+B), PhpStorm will navigate there, such as the declaration of a configuration item. .
Regarding using Blade templates, Laravel plug-ins can also improve the experience, such as: automatic modification of @section instructions.

end…
enjoy coding!

The above is the content of using phpstorm to develop php programs under ubuntu, more related content Please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:History of PHPNext article:History of PHP