diff --git a/composer.json b/composer.json index 2010b53..db8b529 100644 --- a/composer.json +++ b/composer.json @@ -5,18 +5,18 @@ "license": "MIT", "type": "project", "require": { - "php": ">=5.6.4", - "laravel/framework": "5.4.*", - "lucid-arch/laravel-foundation": "5.4.*", + "php": ">=7.0.0", + "laravel/framework": "5.5.*", + "lucid-arch/laravel-foundation": "5.5.*", "laravel/tinker": "~1.0" }, "require-dev": { "fzaninotto/faker": "~1.4", "mockery/mockery": "0.9.*", - "phpunit/phpunit": "~5.0", + "phpunit/phpunit": "~6.0", "symfony/css-selector": "3.1.*", "symfony/dom-crawler": "3.1.*", - "lucid-arch/laravel-console": "dev-master" + "lucid-arch/laravel-console": "5.5.*" }, "autoload": { "classmap": [ @@ -42,11 +42,16 @@ "post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "php artisan optimize" + ], + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover" ] }, "config": { "preferred-install": "dist", - "sort-packages": true + "sort-packages": true, + "optimize-autoloader": true }, "minimum-stability": "dev", "prefer-stable": true diff --git a/readme.md b/readme.md index 9d037a5..44e93d0 100644 --- a/readme.md +++ b/readme.md @@ -28,22 +28,32 @@ If you prefer a video, watch the announcement of The Lucid Architecture at Larac - [Microservices](#microservices) ## Installation -### 5.3 +### 5.5 To start your project with Lucid right away, run the following command: ``` composer create-project lucid-arch/laravel my-project ``` -This will give you a Laravel 5.3 installation with Lucid out-of-the-box. If you wish to download other versions of Laravel you may specify it as well: +This will give you a Laravel 5.5 installation with Lucid out-of-the-box. If you wish to download other versions of Laravel you may specify it as well: + +##### 5.4 +``` +composer create-project lucid-arch/laravel=5.4.x my-project-5.4 +``` + +> Literally 5.4.x and not 5.4.0 or 5.4.1... + +##### 5.3 +``` +composer create-project lucid-arch/laravel=5.3.x my-project-5.3 +``` ##### 5.2 ``` composer create-project lucid-arch/laravel=5.2.x my-project-5.2 ``` -> Literally 5.2.x and not 5.2.0 or 5.2.1... - ##### 5.1 ``` composer create-project lucid-arch/laravel=5.1.x my-project-5.1