Hi,
If the project is using Laravel 5.4 or higher the php artisan optimize command is no longer needed. See https://laravel.com/docs/5.5/upgrade#upgrade-5.5.0 for more info.
Hope this helps.
Regards, Adrian
2 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi! I have an existing project - after running composer install i receive an error: "Script php artisan optimize handling the post-install-cmd event returned with error code 1 " If somebody know how to fix this - please help?! Thank in advance!
Please or to participate in this conversation.