An open API service indexing awesome lists of open source software.

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

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