I am working on laravel 5.2.
When I run the composer and linker installation command, it shows an error:
[InvalidArgumentException] Command "optimize" is not defined.
Please let me know how to solve this problem.
This artisan command is deprecated. Just remove it from the composer.json file.
https://laravel.com/docs/5.6/upgrade says:
The previously deprecated optimize Artisan command has been removed. With recent improvements in PHP, including OPcache, the optimize command no longer provides any appropriate performance. So you can remove php artisan optimize from scripts in composer.json file.
optimize
php artisan optimize
scripts
composer.json
Source: https://habr.com/ru/post/1268975/More articles:Terraform: what does AssumeRole: Service: ec2 do? - amazon-web-servicesHow to check my Firebase Web application? - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1268972/kotlin-add-items-to-expandablelistview&usg=ALkJrhiqVHpz-dAzPamHCmewBgVlzWqCegMore likely x <= 1 or x <2? - operatorsJulia programming - creating a tuple of indices in a set - tuplesPyCharm python console - ipython magic output - pythonMake pycharm use real ipython console - pythondecltype (* this) equivalent external function body - c ++Laborer - unclean (in promise) TypeError: Failed to receive - javascriptHow to pass current class using decltype in c ++ 11? - c ++All Articles