Skip to content

Commit 27d1230

Browse files
seekodemaxdeviant
authored andcommitted
Add PHP Snippets extension (zed-industries#3464)
# Zed PHP Snippets A comprehensive collection of PHP snippets for [Zed editor](https://zed.dev/), designed to accelerate PHP development with intelligent autocomplete and placeholder support. ## ✨ Features - **Complete PHP Coverage**: 100+ snippets covering all essential PHP patterns - **Smart Placeholders**: Tab-navigable placeholders for efficient coding - **Modern PHP Support**: Includes PHP 8.x features (enums, match expressions, readonly properties, etc.) - **OOP Ready**: Complete class, interface, trait, and abstract class snippets - **Database Integration**: PDO snippets for secure database operations - **Control Structures**: All loops, conditionals, and modern syntax patterns - **Best Practices**: Type hints, strict types, and modern PHP conventions Co-authored-by: Marshall Bowers <[email protected]>
1 parent bc4b4f6 commit 27d1230

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,6 +2094,10 @@
20942094
path = extensions/php
20952095
url = https://github.com/zed-extensions/php.git
20962096

2097+
[submodule "extensions/php-snippets"]
2098+
path = extensions/php-snippets
2099+
url = https://github.com/seekode/zed-php-snippets
2100+
20972101
[submodule "extensions/phpcs"]
20982102
path = extensions/phpcs
20992103
url = https://github.com/GeneaLabs/zed-phpcs-lsp.git

extensions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,6 +2117,10 @@ version = "0.0.2"
21172117
submodule = "extensions/php"
21182118
version = "0.4.4"
21192119

2120+
[php-snippets]
2121+
submodule = "extensions/php-snippets"
2122+
version = "0.1.0"
2123+
21202124
[phpcs]
21212125
submodule = "extensions/phpcs"
21222126
version = "0.1.8"

extensions/php-snippets

Submodule php-snippets added at 906904b

0 commit comments

Comments
 (0)