Skip to content

Commit 0a2802f

Browse files
author
Gianluca Arbezzano
committed
Blogpost vim composer release
1 parent bc4b4aa commit 0a2802f

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
layout: post
3+
title: Plugin Vim-Composer release 0.1.0
4+
date: 2015-04-28 21:00:00
5+
tags: vim, php, composer, gianarb
6+
category: plugin
7+
author: GianArb
8+
author_link: https://gianarb.it
9+
summary: Vim Composer is a vim plugin that help you to manage integration with this PHP tool. Composer is a tool to manage project's depenendencies in PHP
10+
---
11+
This plugin helps you to manage integration between [composer](http://getcomposer.org) and vim.
12+
13+
## Composer
14+
Composer is a tool to manage project's dependencies in PHP.
15+
16+
## Changelog
17+
* [[#5]](https://github.com/vim-php/vim-composer/pull/5) Close #4 ComposerInstall command
18+
* [[#6]](https://github.com/vim-php/vim-composer/pull/6) Close #2 init composer.json open command
19+
* [[#10]](https://github.com/vim-php/vim-composer/pull/10) Close #3 exec custom callback after composer install
20+
* [[#11]](https://github.com/vim-php/vim-composer/pull/11) Add help
21+
22+
## Features
23+
This plugin's version offers a little set of features.
24+
In first it supports auto-install and auto discovery of composer installation.
25+
ex. `:ComposerGet` command installs composer.phar
26+
27+
`:ComposerRun` is the first wrapper of composer tool, it supports all commands with them options
28+
ex.
29+
`:ComposerRun validate`
30+
`:ComposerRun update --no-dev -o`
31+
`:ComposerRun install --prefer-source`
32+
...
33+
34+
If in your route exists a **composer.json** file you can vsplit it with `:ComposerJSON` command.
35+
36+
`:ComposerInstall` is a wrapper of **composer install** command, it supports its options and call callback function if exists.
37+
{% highlight vim %}
38+
function! MyCallbackFunction()
39+
exec ':silent ! ctags -a %'
40+
endfunction
41+
let g:composer_install_callback = "MyCallbackFunction"
42+
{% endhighlight %}
43+
44+
There are a lot of possible features, you can help us to work the right ones with your [feedback](https://github.com/vim-pph/vim-composer/issues)!

0 commit comments

Comments
 (0)