Skip to content

Commit

Permalink
Merge pull request #4 from adrianogl/master
Browse files Browse the repository at this point in the history
Add support for laravel 5.5
  • Loading branch information
mauri870 authored Oct 11, 2017
2 parents 3785f7a + ef3dd46 commit 24bd281
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.5.0 (2017-08-30)

Features:

- Add support for Laravel 5.5

## 1.4.0 (2017-01-24)

Features:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ Replace `name` for your project name and `version` for one of the available vers

`5.0`

`5.1` - You can use `LTS` instead
`5.1`

`5.2`

`5.3`

`5.4` - Default version
`5.4`

`5.5` - Default version - You can use `LTS` instead

`master` - Install from the current master branch

Expand Down
7 changes: 5 additions & 2 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ protected function getInstallationCommand($version, $directory)
case "5.3":
return $command . " \"5.3.*\"";
break;
case "5.4":
case "5.3":
return $command . " \"5.4.*\"";
break;
case "5.5":
return $command;
break;
case "develop":
Expand Down Expand Up @@ -219,7 +222,7 @@ protected function getVersion($input)
$version = $input->getArgument('version');

if ($version == "") {
$version = "5.4";
$version = "5.5";
}

return strtolower($version);
Expand Down

0 comments on commit 24bd281

Please sign in to comment.