PHP Tools for VS Code is a complete development integration for the PHP language. The features are provided with respect to conventions, stability, simple use and performance. Please see the product page for more details on devsense.com. This package extends VS Code with fast code completion, advanced editing features, debugger, built-in web server, test explorer and workspace-wide code analysis and diagnostics: fast code completion powered by smart proprietary type analysis engine.

powered by smart proprietary type analysis engine. code actions and quick fixes for namespace resolution, getters/setters or implementing interface.

and quick fixes for namespace resolution, getters/setters or implementing interface. extensive problems analysis continuously reports problems across the entire workspace.

continuously reports problems across the entire workspace. built-in web server gets started as you start debugging.

gets started as you start debugging. navigation for workspace-wide go to definition, references and symbol search.

for workspace-wide go to definition, references and symbol search. debugger making use of Xdebug. Provides value editing, debug console, tooltips and more.

making use of Xdebug. Provides value editing, debug console, tooltips and more. breakpoints and logpoints are must-have features for tracing your program.

are must-have features for tracing your program. debug watch tooltips for safe inspection of your debug session.

for safe inspection of your debug session. PHPDoc generator, completion, diagnostics and quick fixes.

generator, completion, diagnostics and quick fixes. Phar files and their content are integrated in completion and all the navigation features, seamlessly.

files and their content are integrated in completion and all the navigation features, seamlessly. code formatting for ranges, documents and blocks. Formats contained HTML/JS/CSS as well.

for ranges, documents and blocks. Formats contained HTML/JS/CSS as well. signature help guiding you through the function's parameters.

guiding you through the function's parameters. detailed tooltips revealing localized description, colored headers and link to documentation.

revealing localized description, colored headers and link to documentation. rename refactoring safely renames variables, functions, classes and interfaces.

safely renames variables, functions, classes and interfaces. highlighting occurances of a symbol under the cursor.

of a symbol under the cursor. breadcrumbs and outline for fast and easy navigation within a file.

for fast and easy navigation within a file. PHP manual in all major languages is seamlessly integrated into the editor.

in all major languages is seamlessly integrated into the editor. PHP/HTML/JS/CSS mixed codes are colored and editable all together with code completion.

mixed codes are colored and editable all together with code completion. code folding for code blocks, declarations, comments and regions.

for code blocks, declarations, comments and regions. test explorer that visualizes, debugs and continuously runs your PHPUnit tests. Installation & Activation The software is licensed to active subscribers of Devsense's PHP Tools. Buy Now After installing the software, open the Command Palette from the View menu and search for command PHP Tools: Activate extension . Enter the license key into the pop-up window above and press Enter . Note: the activation process requires an Internet connection. Code Help and Completion Take advantage of type based, blazing fast code completion, signature help and colorful tooltips within VS Code. The editor is context aware, lists available symbols with detailed information, performs type analysis and completes selected options. It also autocompletes dollar character for variables and even provides a link to online documentation when possible. The integrated manual of all PHP symbols is localized for major languages - English, Japanese, Spanish, French, Portuguese, German, Russian, or Chinese. Code Actions Quickly refactor and generate code using code actions. This features gives you quick fixes for the code that is right at your cursor, at your hand. Generate PHPDoc, property getters and setters, implementation of interfaces and abstracts and more. Debug Run the integrated built-in server or connect to a remote server. Debug is provided through Xdebug extension and provides you with all you need. See and manage breakpoints, watch expressions, locals or the call stack or change the variables value. Tooltips reveal the expression's value as well. Continuous Code Validation Reveal troublesome issues and problems without testing, and even before running the code. The built-in type analysis and code validation will check the entire project in seconds, and it gets updated as you type. Problems are listed in the Problems window and underlined right in the code editor. Navigation The editor provides you with Go to definition , Find all references and browsing through all the symbols within the current document and the workspace. It takes advantage of the type analysis and context aware search, quickly navigating even through extremely large projects. Rename Refactoring Safely find and rename variables, classes, interfaces or functions with a single press of a key. The feature takes into account PHPDoc comments, possible indirect variables or dynamic code constructs. Code Formatting The code formatter makes the code look clean and unified. It understands your conventions, keeps your multiline expressions as you wrote them, adjusts the comment blocks, pretty prints the expressions and nicely purifies the rest. Code is formatted automatically when you finish the statement or a code block. Testing PHPUnit tests within the project are detected and automatically listed in new Test Explorer panel. You can run and debug all the tests or just one. All the listed tests are marked with the succeeded icon with details of the test run. Optionally you can even enable continuous testing. Home page

Documentation

Pricing & Purchase Notices The extension is based on MIT licensed code and is subject to following notice: MIT License Copyright (c) 2015 - present Microsoft Corporation All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The embedded language feature is based on work of Ben Mewburn and is subject to following notice: Copyright (c) Ben Robert Mewburn Licensed under the ISC Licence. The software's debug protocol library is based on MIT licensed code and is subject to following notices: VS Code - Node Debug Copyright (c) Microsoft Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. MIT License Copyright (c) 2016 Felix Frederick Becker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The software's test explorer is based on MIT licensed code and is subject to following notices: The MIT License (MIT) Copyright (c) 2018 Holger Benl hbenl@evandor.de Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. PHPUnit Copyright (c) 2001-2018, Sebastian Bergmann sebastian@phpunit.de. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of Sebastian Bergmann nor the names of his contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.