### laravel 5.5
$ npm install
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.5.*",
"laravelcollective/html": "5.5.*",
"cviebrock/eloquent-sluggable": "^4.3",
"unisharp/laravel-filemanager": "^1.9",
"intervention/image": "^2.5"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0",
"symfony/css-selector": "2.8.*|3.0.*",
"symfony/dom-crawler": "2.8.*|3.0.*"
},
### laravel 5.6
composer.json
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
]
},
$ php composer.phar update
$ php artisan –version
Pythonでも何だかんだ言われながらpytho2.7から3に変わっていきましたし、常に最新バージョンで開発する癖をつけた方が良さそうです。