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

Use phpstorm to develop php programs under ubuntu

PHP中文网
Release: 2016-07-30 13:30:15
Original
1788 people have browsed it

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.

1

2

3

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install Oracle-java7-installer

Copy after login

2. Officially download the latest version of phpstorm

1

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

Copy after login

3. Unzip

1

tar xfz xxxx.tar.gz

Copy after login

4. Enter the directory and execute the installation script

1

2

cd phpstorm*cd bin

./phpstorm.sh

Copy after login

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

1

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

Copy after login

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)!


Related labels:
source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template