Skip to content
Chirag Gude edited this page Mar 6, 2015 · 3 revisions

composer.json for Laravel apps in Vagrant

"scripts": {
		"post-install-cmd": [
			"sudo php artisan clear-compiled",
			"sudo php artisan optimize"
		],
		"post-update-cmd": [
			"sudo php artisan clear-compiled",
			"sudo php artisan optimize"
		],
		"post-create-project-cmd": [
			"sudo php artisan key:generate"
		]
	},
Clone this wiki locally