Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
honza
/
vim-snippets
Public
Notifications
You must be signed in to change notification settings
Fork
2k
Star
4.9k
Code
Issues
56
Pull requests
28
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Breadcrumbs
History for
vim-snippets
snippets
php.snippets
on
master
User selector
All users
Datepicker
All time
Commit History
Commits on Sep 7, 2022
Remove unnecessary placeholder text
amarz45
authored and
lpil
committed
2058ac6
Copy full SHA for 2058ac6
Commits on Jun 28, 2021
Escape $ in $this->
oliver-dvorski
authored and
lpil
committed
749460b
Copy full SHA for 749460b
Commits on Feb 19, 2019
Added attribute with short comment snippet
rtorralba
authored and
lpil
committed
9717c7f
Copy full SHA for 9717c7f
Commits on Aug 21, 2018
fix duplicated 'ast'
knon
authored and
lpil
committed
7c7e7d4
Copy full SHA for 7c7e7d4
Commits on Mar 1, 2017
Comments to show in completion list popup
app
authored and
lpil
committed
9a2379b
Copy full SHA for 9a2379b
Commits on Jan 31, 2017
Updated PHP snippets to make use of VISUAL
codeinabox
authored and
lpil
committed
83f1782
Copy full SHA for 83f1782
Commits on Jan 21, 2017
PHPUnit assertions
codeinabox
authored and
lpil
committed
40ca4ae
Copy full SHA for 40ca4ae
Commits on Oct 18, 2016
Change arrays to short syntax verions
ernestre
committed
dfbf4a2
Copy full SHA for dfbf4a2
Commits on Jun 29, 2016
Strict typed snippets for PHP getters that check declare(strict_types=1) or for g:ultisnips_php_scalar_types=1
codeinabox
committed
fff3ae4
Copy full SHA for fff3ae4
Commits on Jun 17, 2016
Refactored PHP getter and setter snippets to have consistent triggers
codeinabox
committed
e016f1f
Copy full SHA for e016f1f
Commits on Jun 16, 2016
Fixed PHP snippets for sbscalar and snbscalar, refactored gs
codeinabox
committed
09068dc
Copy full SHA for 09068dc
Commits on May 29, 2016
Consolidated PHP snippets and removed UltiSnips duplicates
codeinabox
committed
f79462e
Copy full SHA for f79462e
Commits on May 27, 2016
Tidied up and consolidated snippets for PHPUnit
codeinabox
committed
120ead2
Copy full SHA for 120ead2
Commits on May 5, 2016
PHP and Twig conditional snippets to be consistent with naming convention: if, ife, eif, el, wh
codeinabox
committed
e8cb8d0
Copy full SHA for e8cb8d0
Commits on Apr 30, 2016
Trait snippet for PHP
codeinabox
committed
9bee554
Copy full SHA for 9bee554
Commits on Jan 29, 2016
Merge pull request #668 from phux/hotfix/php-array-snippet-only-in-beginning
Show description for ca361c4
lpil
committed
ca361c4
Copy full SHA for ca361c4
Commits on Jan 11, 2016
Use snipMate syntax
Show description for ba38c83
komputerwiz
committed
ba38c83
Copy full SHA for ba38c83
PHP: added a few more language method snippets.
Jan Mollowitz
committed
1a33ecc
Copy full SHA for 1a33ecc
PHP: trigger php 'array' snippet only for beginning of line.
Jan Mollowitz
committed
d1453cd
Copy full SHA for d1453cd
Commits on Oct 3, 2015
Added php snippet: throw Exeption
Julian Bennecker
committed
fca8299
Copy full SHA for fca8299
Commits on Aug 14, 2014
Added print_r snippet in php
Mario de Frutos
committed
1f5e1c5
Copy full SHA for 1f5e1c5
Commits on Jul 1, 2014
name/array/bar in php's fun snippet is annoying, remove them
Show description for 43b272f
MarcWeber
committed
43b272f
Copy full SHA for 43b272f
Commits on Dec 8, 2013
Add Phpunit
Marc Camuzat
committed
4f31132
Copy full SHA for 4f31132
Commits on Oct 12, 2013
fix css_block
MarcWeber
committed
6a38707
Copy full SHA for 6a38707
Commits on Sep 5, 2013
Modify snippets to support zero tabstop
ajzafar
committed
7f9c4f5
Copy full SHA for 7f9c4f5
Commits on Aug 8, 2013
ruby: count from 1, not 0 (I think its very important to think about the name)
Show description for c0cddc9
MarcWeber
committed
c0cddc9
Copy full SHA for c0cddc9
Commits on Jul 8, 2013
replace Filename by vim_snippets#Filename and document it
Show description for 80697be
MarcWeber
committed
80697be
Copy full SHA for 80697be
Commits on Jun 23, 2013
new policies for if, eif, el
Show description for 344ac6e
MarcWeber
committed
344ac6e
Copy full SHA for 344ac6e
Commits on Jun 20, 2013
Removed comment blocks from placeholders
Michael Thessel
authored and
MarcWeber
committed
4eb88d7
Copy full SHA for 4eb88d7
Commits on Apr 13, 2013
Added snippet for to print wa variable to a file
MichaelThessel
committed
c9336b7
Copy full SHA for c9336b7
Commits on Apr 12, 2013
Added array_walk snippet
MichaelThessel
committed
8ec2e4c
Copy full SHA for 8ec2e4c
Added return array placeholder
MichaelThessel
committed
2c858bb
Copy full SHA for 2c858bb
Added array_map() snippet
MichaelThessel
committed
613f3c1
Copy full SHA for 613f3c1
Changed class snippet
MichaelThessel
committed
95b1a81
Copy full SHA for 95b1a81
Whitespace cleanup
MichaelThessel
committed
41644d7
Copy full SHA for 41644d7
Pagination
Previous
Next
You can’t perform that action at this time.