Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mparker17/file-code-templates
My File and Code Templates. Uses Apache Velocity Template Language (VTL) for use in PHPStorm.
https://github.com/mparker17/file-code-templates
drupal php snippets
Last synced: about 2 months ago
JSON representation
My File and Code Templates. Uses Apache Velocity Template Language (VTL) for use in PHPStorm.
- Host: GitHub
- URL: https://github.com/mparker17/file-code-templates
- Owner: mparker17
- License: gpl-2.0
- Created: 2015-07-22T18:08:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T14:03:34.000Z (almost 6 years ago)
- Last Synced: 2024-11-03T00:42:11.731Z (3 months ago)
- Topics: drupal, php, snippets
- Language: PHP
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# file-code-templates
My File and Code Templates.
Since I work with [Drupal](https://www.drupal.org/) a lot, and I want to conform to the [Drupal Documentation Standards](https://www.drupal.org/coding-standards/docs), I found myself writing a lot of boilerplate. I created a bunch of templates to help me.
When I started using [PHPStorm](https://www.jetbrains.com/phpstorm/), and realized it lets you define file templates using [Apache's Velocity Template Language (VTL)](http://velocity.apache.org/engine/devel/user-guide.html#Velocity_Template_Language_VTL:_An_Introduction), I adapted my templates to use VTL.
I used to keep these code templates in my own preferences file; but I've realized they might be helpful to other people too. So here they are.