Use phpstorm in ubuntu to develop php programs

Source: Internet
Author: User
: 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 )!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.