From 02fa2ccea5ded8211c800e259cf17ce2ec993b1e Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 2 Jan 2017 13:51:28 -0500 Subject: [PATCH] add example user compser.json --- bibtexbrowser-documentation.wiki | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bibtexbrowser-documentation.wiki b/bibtexbrowser-documentation.wiki index 8b0e562..583df0a 100755 --- a/bibtexbrowser-documentation.wiki +++ b/bibtexbrowser-documentation.wiki @@ -517,7 +517,21 @@ php bibtexbrowser-cli.php mybib.bib --id classical --set-title \"a new title\" - ====How to use with composer?==== Bibtexbrowser can now be downloaded with composer, though not yet with packagist. +In your project's `composer.json`, you must add this repo to the `repositories` section. As well, you must specify version `dev-master`, for now: +````JSON +{ + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/monperrus/bibtexbrowser.git" + } + ], + "require": { + "monperrus/bibtexbrowser": "dev-master" + } +} +```` =====Related tools=====