This article mainly introduces the PHP IDE phpstorm configuration support friendly Laravel code hint method, the key configuration has added red hint, need friend can refer to under
The Phpstorm artifact can support a more user-friendly Laravel framework code hint (click to view) and only need to do the following:
First step: Add the following line to the project's Composer.json
The code is as follows:
since the use of webstorm after a out-of-hand, set Qi JetBrains three pieces, the following attached registration codeJetBrains Phpstorm Registration CodeUser Name: Embrace License Key:===== LICENSE BEGIN =====43136-1204201000002usvson704l "Dile1pvx3y4" B349AU6OSDJRSJE8NMOQH "8HTDJHIUUhgd1bebyc5u "6oxdbvsalb4eb10pw8"===== LICENSE END =====jetbrains webstorm Registration CodeUserName:WilliamLicense Key:===== LICENSE BEGIN =====45550-1204201000001szfn0n
When developing the thinkphp application in Phpstorm, there was no code hint, which bothered for a long time, later referring to some related posts on the web that support YII framework code hints in Phpstorm, tried to test in thinkphp, and now the test is successful, leaving post recording process.1th step: In Phpstorm's Settings Options menu, set the current application's include directory (to include the
1. Download Xdebug module
Xdebug Download Address: https://xdebug.org/download.php
Note : with "ts" is the meaning of thread safety, "nts" he did not mark, that is, if the NTS to download the not marked, download the filename is actually marked. 2, the xdebug installed to PHP
Copy the downloaded DLL to the Ext folder inside PHP (the extension DLL is all here), renamed Php_xdebug.dll.
Modify in PHP.ini (in "; Module Settings; " Add below):
[Xdebug]
Zend_extension=php_xdebug.dll
xdebug.remo
PHP xdebug Extension
Brew Search Xdebug (select an extension in the results that matches your PHP version)
Brew Install xdebug-70 (my PHP version is PHP7)
Fill in the/usr/local/etc/php/7.0/ext-xdebug.so configuration[Xdebug]zend_extension= "/usr/local/opt/php70-xdebug/xdebug.so"Xdebug.remote_enable=1xdebug.remote_host= "localhost"xdebug.remote_port=9001Xdebug.profiler_enable=1Xdebug.profiler_output_dir= "/users/www/debug"xdebug.idekey= "Phpstorm"
Choose to integrate the Apache server in Phpstorm, below is my own test step.
1. How to modify the Apache default port
XAMPP Apache default HTTP access port is 80
Restart Apache in XAMPP after the modification is complete.
2. Configuration process
Open settings/preferences Find Build, Execution, Deployment option, click Deployment Add as follows:
Because we have modified the default port 80, we must specify the port number here. The direct
PHPstorm is very convenient to use. You can directly use the console in PHPstorm to control the database. But the problem arises. The SQL statement on which the cursor is located in the console will highlight the white background, I can't type well at all. I found a circle in PHPstorm and couldn't find the background color...
Using phpstorm to format the code setting function #039;) #039; and #039 ;{ #039; failed to keep the same row. setting has already checked the setting, phpstorm has also been restarted and does not work. my settings are as follows: The phpstrom format is still the old one: {code ...} but what I need is: {code ...}...
Use phpstorm to format code settingsFunctio
Recently encountered some problems with phpstorm programming: When using the Zen coding plugin, Phpstorm is not as casual as notepad++. Phpstorm can use Zend Coding only if you are editing a file that is recognized as HTML. When programming in Phpstorm, SQL statements about database operations are prompted accordingly.
PHPstorm tips. PHPstorm usage tips: PHPstorm usage tips are updated slowly and accumulated a little bit. they are all settings for problems encountered during use: (2016.4.15) 1. annotation templates. phpstorm has Usage Tips other than PHPstorm,
Use phpstorm for svn submission, phpstormsvn. Phpstorm is used for svn submission. it is really difficult to find a handy free SVN on phpstormsvnmacbook, or it is a very vague picture. I wanted to use Xcode, but after a while, I want to open phpstorm for svn submission. phpstormsvn
It's really hard to find a handy free SVN on the macbook, or it's a very vague
PhpStorm shortcut key settings, personalized settings, coexistence of multiple projects, change the style subject font
Custom Common shortcut keys
Follow the path: File-> Settings-> Appearance Behavior-> Keymap-> Copy an Eclipse Copy and name it Eclipse_blog.snsgou.com
Shortcut key
Function
Path
Ctrl +/
Double slash comment
Main menu-> Code-> Comment width Line Comment
Ctrl + Shilft +/
Block c
My environment
Operating system: 64-bit Win7 flagship Service Pack 1
PHP Version: php-5.6.7-win32-vc11-x64
Apache Version: Httpd-2.4.12-win64-vc11
Phpstorm version: Phpstorm 8.0.3
Download Xdebug
Xdebug Official website: http://xdebug.org/Xdebug currently the latest version is 2.3.2, in order to match my PHP environment, I downloaded the Php_xdebug-2.3.2-5.6-vc11-x86_64.dll library, down
: 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 JDKPhpstorm 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
Php + phpStorm + xdebug, phpstormxdebug. Php + phpStorm + xdebug configuration method, phpstormxdebug1. download xdebug file xdebug. orgwizard. php copies the source code of phpinfo () to the text box. xdebug will prompt you how to configure and talk about php + phpStorm + xdebug, phpstormxdebug
1. download the xdebug file
Http://xdebug.org/wizard.php
Copy the s
Configuring Phpstorm Debugging PHP First Step: Configure XDebug Download install XDebug to the local environment (refer to: Zend Studio 9.x + xampp + XDebug Debug Environment installation detailed), open php.ini, refer to the following configuration:[XDebug]zend_extension = "D:\PHP\xampp2\php\ext\php_xdebug.dll"xdebug.profiler_append = 0xdebug.profiler_enable = 1xdebug.profiler_enable_trigger = 0xdebug.profiler_output_dir = "D:\PHP\xampp2\tmpxdebug.pr
First, configure the Xdebug.Add the following configuration to the php.ini (note restart Apache or nginx):
[xdebug]
zend_extension="/usr/local/opt/php55-xdebug/xdebug.so"
xdebug.remote_enable=On
xdebug.remote_autostart=Off
xdebug.remote_host="localhost"
xdebug.remote_port=9002
xdebug.remote_handler="dbgp"
;可以是任意Key,这里设定为PHPSTORM
xdebug.idekey="PHPSTORM"
Note: I am using the Mac Brew-emp
How to Develop Laravel applications using PHPStorm: phpstormlaravel
Preface
I believe many PHP programmers use [laravel] to create their applications. [Laravel] is a free and open-source PHP web application framework. Based on Multiple Symfony components, it provides a development framework, including authentication, routing, sessions, caching, and other modules.
Last summer, we introduced support for Blade. Blade is Laravel's template language and is
It is very inefficient to debug PHP with the variable output by Echo,var_dump,print_r and so on. With Xdebug, you can debug PHP directly in the IDE. Installing XdebugDownload XdebugPlease download the corresponding PHP version of Xdebug
1 2 3
wget wget http: //xdebug .org /files/xdebug-2 .2.1.tgz tar xzvf xdebug-2.2.1.tgz cd xdebug-2.2.1
Installing XDEUBG
1 2 3 4
/usr/local/webserver/php/bin/phpize . /configure -- enable -xdebug --with-php-c
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.