From 455f522a510e3671cf83b8be1aaec300eb95c536 Mon Sep 17 00:00:00 2001 From: Kehet Date: Thu, 13 Jul 2017 01:18:46 +0300 Subject: [PATCH 1/3] Composer now publishes bin if installed as global package --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fab1bbe..759d916 100644 --- a/composer.json +++ b/composer.json @@ -23,5 +23,8 @@ }, "require-dev": { "phpunit/phpunit": "^6.1" - } + }, + "bin": [ + "homeboy" + ] } From cd7aeef80a36b26f33c3fe3be8a1d91f65f04a21 Mon Sep 17 00:00:00 2001 From: Kehet Date: Thu, 13 Jul 2017 01:19:01 +0300 Subject: [PATCH 2/3] Makes homeboy executable by default (in unix systems) --- homeboy | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 homeboy diff --git a/homeboy b/homeboy old mode 100644 new mode 100755 From 8d6f5c716709097b7ab46f0d001dc6c9b09110e5 Mon Sep 17 00:00:00 2001 From: Kehet Date: Thu, 13 Jul 2017 01:42:50 +0300 Subject: [PATCH 3/3] Adds brief readme note --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 447522b..9d60761 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,21 @@ homeboy=php C:\Users\[USER]\homeboy\homeboy $* *be sure to edit the path based on where homeboy is installed* + +### Using Composer + +Install Homeboy using Composer: + +``` +composer global require "kilroyweb/homeboy" +``` + +Make sure to place the $HOME/.composer/vendor/bin directory (or the equivalent directory for your OS) +in your $PATH so the laravel executable can be located by your system. + +Once installed, you can use ``homeboy`` command from anywhere on your system. + + ### Use Homeboy to host a new homestead site ```