Press COMMAND + SHIFT + P to open the command palette.
Find "Preferences: Configure User Snippets".
Click "New Global snippets file". This will open up a file with a . code-snippets extension in ~/Library/Application Support/Code/User/snippets/filename. code-snippets .
#php
#phpsnippets
#snippets
#vscode