Using Phpstorm to develop PHP programs under Ubuntu

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

  • 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.