Ứng dụngVisual Studio 2022, Visual Studio 2019
Nền tảngWindows, macOS, Linux
LicenseAnnual Subscription License
LoạiVisual Studio Add-in
DEVSENSE

PHP Tools for Visual Studio

Extension cho Visual Studio bổ sung editor PHP, IntelliSense, debug với Xdebug, PHPUnit, Composer và triển khai remote. Hỗ trợ Visual Studio 2010-2022, gồm Community Editions.

  • Bổ sung syntax highlighting và code folding cho mã PHP trong Visual Studio.
  • Phát hiện type mismatch, typo và thiếu tham số hàm ngay khi nhập mã.
  • Cung cấp IntelliSense theo ngữ cảnh với completion, tool tips và signature help.
  • Điều hướng tới definition và references bằng các shortcut quen thuộc của Visual Studio.
Bản quyền chính hãngTư vấn phiên bản và license phù hợp theo nhu cầu sử dụng.
Tư vấn license phù hợpHỗ trợ lựa chọn license theo quy mô triển khai và ngân sách.
Hỗ trợ doanh nghiệpTư vấn mua hàng, triển khai và hồ sơ doanh nghiệp.
Báo giá theo nhu cầuBáo giá theo phiên bản, số lượng và hình thức license.

Tổng quan

PHP Tools for Visual Studio mở rộng Visual Studio để phát triển PHP với editor chuyên biệt, IntelliSense, navigation và debug ngay trong cùng môi trường làm việc. Bộ mở rộng này cũng thêm PHP projects và hỗ trợ visual debugging cho PHP cùng JavaScript.

Visual Studio editing experience for PHP.

Trong quá trình viết mã, editor cung cấp syntax highlighting, code folding, code validation theo thời gian thực, detailed tool tips, signature help và semantic code completion. Các lỗi như type mismatch, typo, thiếu function parameters, class hoặc function không xác định có thể được gạch chân ngay khi đang gõ.

Debug PHP code in Visual Studio.

Extension cho Visual Studio bổ sung editor PHP, IntelliSense, debug với Xdebug, PHPUnit, Composer và triển khai remote. Hỗ trợ Visual Studio 2010-2022, gồm Community Editions.

Smart dynamic code assistance.

Tính năng nổi bật

  • Bổ sung syntax highlighting và code folding cho mã PHP trong Visual Studio.
  • Phát hiện type mismatch, typo và thiếu tham số hàm ngay khi nhập mã.
  • Cung cấp IntelliSense theo ngữ cảnh với completion, tool tips và signature help.
  • Điều hướng tới definition và references bằng các shortcut quen thuộc của Visual Studio.
  • Hiển thị Code Lenses với references, overrides, prototypes và trait uses.
  • Đổi tên identifier bằng refactoring tại chỗ hoặc qua preview chi tiết.
  • Quản lý PHP binaries, Composer và dependencies theo phiên bản PHP của project.

Ứng dụng thực tế

  • Lập trình viên PHP muốn làm việc hoàn toàn trong Visual Studio thay vì chuyển sang IDE khác.
  • Nhóm phát triển web cần debug ứng dụng PHP cục bộ và trên máy chủ từ xa bằng Xdebug.
  • Dự án Laravel cần Blade completion, Blade folding, routes, facades và Livewire completions.
  • Nhóm QA hoặc developer cần viết, chạy và debug PHPUnit test cases trong cùng IDE.
  • Dự án cần publish file lên FTP, SFTP, FTPS, File System hoặc Azure từ Visual Studio.

Đối tượng sử dụng phù hợp

  • Lập trình viên PHP sử dụng Visual Studio
  • Tech lead quản lý dự án web PHP
  • QA engineer tham gia viết và chạy PHPUnit tests
  • Nhóm phát triển Laravel

Thông tin kỹ thuật

Supported Microsoft IDEs:Visual Studio 2022, Visual Studio 2019, Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, Visual Studio 2010.
Editor features listed:Syntax Highlighting, Code Folding, RegEx Editor, Mixed HTML/JS/CSS, Inlay Hints, PHPDoc Support, Code Lenses, Highlight Occurences, Breadcrumbs and Code Structure, Highlight ToDo, Highlight Unused Imports and Variables, Smart Indent, Type Hierarchy.
IntelliSense and analysis listed:Semantic Code Completion, Starred Suggestions, Full Generics Support, Detailed Signature Help, Detailed Tool Tips, Auto-Import, Smart Snippets, Navigation to Definition, Navigation to References, Symbol Search across Workspace, Multi-language PHP Manual, Workspace-Wide Real-Time Analysis, Type Mismatch Analysis, Deprecations diagnostic, Unused Variables and Imports, RegEx Validation, Reachability Check, Method Override Validation, Abstracts Implementation Check.
Refactoring and code actions listed:Rename Refactoring, Quick Fixes, Code Actions, Implement Abstracts, Fix PSR Names, Organize Uses, Generate PHPDoc, Configure Auto-Fix on Save.
Formatting listed:Mixed Formatting Support, Fully Customizable Rules, Predefined Code Styles, EditorConfig Rules Definition, Batch Format entire Workspace, Format On Typing and On Saving, Format Selection.
Framework and templating support listed:Laravel Magic, Laravel Idea ide.json Support, Eloquent Magic, Laravel Services and Facades and Routes, Components and Livewire Completions, Blade Completion, Blade Folding, PHP-in-Blade Full Editor Support, PHPStorm Meta Support, PHPStan Global Type Alias Support, PHAR Files Indexing and Navigation, Smarty and Twig Editor, Laravel and Blade Support, Composer Manager and IntelliSense, Generics and PhpStan and Psalm Support.
Nhận báo giá phần mềm bản quyền

Điền thông tin để chúng tôi có thể gửi báo giá phù hợp trong thời gian sớm nhất.

Câu hỏi thường gặp

PHP Tools for Visual Studio hỗ trợ những phiên bản Visual Studio nào?

Danh sách tương thích gồm Visual Studio 2022,2019,2017,2015,2013,2012 và 2010. Community Editions được hỗ trợ, còn Express Editions không được hỗ trợ.

Có hỗ trợ debug PHP từ xa không?

Có. Công cụ hỗ trợ remote debugging cho mã chạy trên máy chủ Windows, Linux hoặc Mac, với remote files được map về project cục bộ.

Composer và PHPUnit có được tích hợp trong Visual Studio không?

Có. Composer được tích hợp trong giao diện, MSBuild và Solution Explorer. PHPUnit tích hợp với Visual Studio Test Explorer để author, run và debug test cases.

Có hỗ trợ Laravel, Blade, Smarty và Twig không?

Có. Danh sách tính năng nêu rõ Laravel Magic, Blade Completion, Blade Folding, PHP-in-Blade Full Editor Support, Smarty and Twig Editor cùng các hỗ trợ liên quan.

Bình luận

Để lại bình luận

Email của bạn sẽ không được công khai. Trường bắt buộc có dấu *.