/luan-php-snippets

PHP snippets pack for Visual Studio Code

Luan's PHP Snippets - Visual Studio Code Extension

This extension includes full featured PSR-compliant PHP snippets for an easy and quick development.

Showcase

No large snippets! No undocummented functions!

Features

Snippet Description
php <?php ?>
po <?php
cls class Filename
class class Filename
construct public function __construct
pc public function __construct
prc private function __construct
proc protected function __construct
pf public function
psf public static function
prf private function
prsf private static function
prof protected function
prosf protected static function
pv public variable
psv public static variable
prv private variable
prsv private static variable
prov protected variable
prosv protected static variable
for for
fore foreach
forek foreach($items as $key => $item)
try try catch
sw switch
case case
th throw
inc include
inco include_once
req require
reqo require_once
eco echo
pr print_r
dd var_dump
r return
def define

Release Notes

1.1.0

New snippets!

1.0.0

Initial release