# ul-vsc-php **Repository Path**: ulthon/ul-vsc-php ## Basic Information - **Project Name**: ul-vsc-php - **Description**: vsc的PHP扩展包,可以直接安装PHP相关配置,ThinkPHP优化配置。 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-21 - **Last Updated**: 2025-08-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UL PHP Development Extension Pack A VS Code extension pack specifically designed for PHP developers, optimized for ThinkPHP framework, integrating all core extensions needed for PHP development. ## 📦 Extension Pack Overview This extension pack contains a complete PHP development toolchain, specially optimized for the ThinkPHP framework, allowing you to install all necessary extensions with one click and quickly set up an efficient PHP development environment. ### 🚀 Quick Start 1. Search for `UL PHP Development Extension Pack` in VS Code 2. Click Install 3. All PHP development extensions will be automatically installed ### 📋 Included Extensions #### 🎯 PHP Core Support - **PHP Intelephense** (`bmewburn.vscode-intelephense-client`) - Powerful PHP language server providing intelligent code completion and analysis - **PHP Debug** (`xdebug.php-debug`) - PHP debugging support with Xdebug integration - **PHP DocBlocker** (`neilbrayfield.php-docblocker`) - Automatic PHP documentation comment generation - **PHP CS Fixer** (`junstyle.php-cs-fixer`) - PHP code formatting tool #### 🚀 ThinkPHP Specific - **ThinkPHP6 Snippets** (`hbh112233abc.tp6-snippets`) - ThinkPHP6 code snippets for rapid code generation - **Composer Intelephense** (`muath-ye.composer-Intelephense`) - Composer package management intelligent suggestions #### 🎨 Frontend Development Support - **Live Sass Compiler** (`glenn2223.live-sass`) - Real-time Sass/SCSS file compilation - **SCSS IntelliSense** (`mrmlnc.vscode-scss`) - SCSS syntax support and intelligent suggestions - **CSS Navigation** (`pucelle.vscode-css-navigation`) - CSS class name navigation and jumping - **JavaScript (ES6) Snippets** (`xabikos.JavaScriptSnippets`) - ES6+ JavaScript code snippets #### 🔧 Development Tools - **Path Autocomplete** (`ionutvmi.path-autocomplete`) - File path auto-completion - **Auto Rename Tag** (`formulahendry.auto-rename-tag`) - Automatically rename paired HTML/XML tags - **Auto Close Tag** (`formulahendry.auto-close-tag`) - Automatically close HTML/XML tags - **Format Files** (`MikeBovenlander.formate`) - Batch file formatting #### 📊 Database Support - **SQL Formatter** (`adpyke.vscode-sql-formatter`) - SQL statement formatting tool #### ⚙️ Configuration File Support - **DotENV** (`mikestead.dotenv`) - .env environment configuration file syntax highlighting ## 🎯 Use Cases - **ThinkPHP Project Development** - Specially optimized for TP6 framework - **Laravel Project Development** - Complete PHP framework support - **API Development** - RESTful API and microservice development - **CMS Development** - Content management system development - **E-commerce Development** - Online shopping and payment systems - **Enterprise Applications** - Large-scale PHP application development ## ✨ Key Features - **ThinkPHP Optimization** - Specifically optimized for ThinkPHP framework - **Intelligent Code Completion** - Powerful code completion and error detection - **Debugging Support** - Complete Xdebug debugging environment - **Code Quality** - Integrated PHP CS Fixer code formatting - **Frontend Integration** - Support for Sass/SCSS and modern JavaScript - **Database Support** - SQL formatting and syntax highlighting - **Documentation Generation** - Automatic PHP documentation comment generation ## 🛠️ Development Environment Requirements ### PHP Version - **Recommended**: PHP 8.0+ - **Minimum**: PHP 7.4+ ### Required Tools - **Composer** - PHP package manager - **Xdebug** - PHP debugger (optional) - **Node.js** - Frontend tool support (optional) ### ThinkPHP Version - **ThinkPHP 6.x** - Full support - **ThinkPHP 5.x** - Basic support ## 🚀 Quick Configuration ### 1. Install PHP and Composer ```bash # Install Composer curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer ``` ### 2. Create ThinkPHP Project ```bash # Create ThinkPHP project using Composer composer create-project topthink/think tp6 ``` ### 3. Configure Xdebug (Optional) ```ini ; php.ini configuration zend_extension=xdebug xdebug.mode=debug xdebug.start_with_request=yes ``` ## 📚 Recommended Learning Resources - [ThinkPHP Official Documentation](https://www.kancloud.cn/manual/thinkphp6_0/) - [PHP Official Documentation](https://www.php.net/manual/en/) - [Composer Documentation](https://getcomposer.org/doc/) - [Xdebug Configuration Guide](https://xdebug.org/docs/install) ## 🔗 Recommended Combinations ### Combine with Other Extension Packs ```bash # PHP Development + Basic Tools ul-vsc-php + ul-vsc-basic # PHP Development + Common Extensions ul-vsc-php + ul-vsc-ext ``` ## 📝 Version Requirements - VS Code Version: ^1.0.0 - Recommended PHP Version: 8.0+ - Recommended ThinkPHP Version: 6.0+ ## 🔗 Related Links - [Gitee Repository](https://gitee.com/ulthon/ul-vsc-php) - [ThinkPHP Official Website](http://www.thinkphp.cn/) - [PHP Official Website](https://www.php.net/) - [Intelephense Official Website](https://intelephense.com/) ## 👨‍💻 Publisher **ulthon** - Focused on PHP development tool optimization ## 📄 License This project is licensed under an open source license. --- **Efficient PHP Development, ThinkPHP First Choice!** 🚀