https://github.com/eghojansu/php-snippet
PHP Sublime Snippet
https://github.com/eghojansu/php-snippet
php-snippets sublime-snippets
Last synced: 2 months ago
JSON representation
PHP Sublime Snippet
- Host: GitHub
- URL: https://github.com/eghojansu/php-snippet
- Owner: eghojansu
- License: mit
- Created: 2017-12-02T14:21:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-03T03:14:14.000Z (over 7 years ago)
- Last Synced: 2025-02-09T12:43:09.276Z (4 months ago)
- Topics: php-snippets, sublime-snippets
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Sublime Snippet
This repository contains PHP object-related snippet.
## Installation
First you need to install [Sublime Package Control][1], then execute command `Package Control: Add Repository` to insert this repository url [https://github.com/eghojansu/php-snippet.git][2].
Or you can manually download this repository as zip/tar then extract in Sublime User Package directory.
## Snippet List
* Create Class based on filename (tab trigger: `class_create`)
* Create Interface based on filename (tab trigger: `interface_create`)
* Create Trait based on filename (tab trigger: `trait_create`)
* Create public method (tab trigger: `publ`)
* Create protected method (tab trigger: `prot`)
* Create private method (tab trigger: `priv`)
* Create public property (tab trigger: `pubp`)
* Create protected property (tab trigger: `prop`)
* Create private property (tab trigger: `prip`)
* Create Interface method (tab trigger: `pubi`)
* Insert project meta in comments (tab trigger: `project_meta`)```sh
Happy coding,ekokurniawan
```[1]: https://packagecontrol.io/installation
[2]: https://github.com/eghojansu/php-snippet.git