coverpage
PhpStorm Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Cooking with PhpStorm
Introduction
Showing/hiding views
Customizing a view
Accessing any project file
Maximizing views and editors
Going back to the previous editor
Going back to the previous edit location
Linking views to editors
Creating a key binding
Creating a bookmark
Restoring deleted resources
Customizing with PhpStorm
Adding an include path
Excluding unwanted directories from the index
Using code completion
Chapter 2. PHP Development
Introduction
Creating a PHP project using Composer
Creating an empty project
Reusing an existing project
Creating a new PHP class
Creating a new PHP method
Adding the getter/setter methods
Creating delegate methods
Surrounding code with control structures
Finding the matching brace
Commenting out a section of code and PHPDoc
Creating a working set
Creating TODO tasks
Chapter 3. Refactoring and Building
Introduction
Renaming elements
Copying elements
Moving elements
Moving a method
Moving a variable
Deleting elements
Searching code in a project
Comparing files
Restoring elements using comparison
Setting the run configuration
Running your code
Chapter 4. Integrating Framework
Introduction
Cooking with Symfony
Creating a controller with Symfony
Creating a model with Symfony
Creating a view with Symfony
Creating a model with the Yii framework
Creating a controller with the Yii framework
Creating a view with the Yii framework
Creating a model with the Zend framework
Creating a controller with the Zend framework
Creating a view with the Zend framework
Chapter 5. Testing and Debugging
Introduction
Installing PHPUnit
Test case in PHPUnit
Testing an application with PHPUnit
Starting a debugging session
Setting a breakpoint
Configuring breakpoint conditions
Creating exception breakpoints
Stepping through your code
Running to a line of code selected
Watching expressions and variables
Changing code on the fly
Code coverage in PhpStorm
Chapter 6. Using PhpStorm in a Team
Introduction
Getting a VCS server
Creating a VCS repository
Connecting PhpStorm to a VCS repository
Storing a PhpStorm project in a VCS repository
Committing files to the VCS repository
Updating code from a VCS repository
Synchronizing your code with the VCS repository
Examining the VCS repository
Checking projects out of a VCS repository
Creating code patches
Creating VCS tags or branches
Creating a task for the team
Chapter 7. PhpStorm and Phing
Introduction
Connecting Phing and PhpStorm
Catching Phing build file syntax problems
Building a PhpStorm application using Phing
Using a different build file
Doing wonders with Phing
Using the Phing build view
Chapter 8. Cooking Library Plugins
Introduction
Creating a library plugin
Refining the plugin
Configuring the plugin with PhpStorm
Code hinting for the plugin
Chapter 9. Code Quality Analysis
Introduction
Mess detector and PhpStorm
Code sniffer and PhpStorm
Locating code duplicates
Code formatting and arrangement
Index
更新时间:2021-08-06 19:43:40