It breaks and says something like this and i dont understand what i have done wrong.
composer.phar install/update fails
# php composer.phar install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files > Illuminate\Foundation\ComposerScripts::postInstall > /usr/bin/php-cli artisan optimize The system cannot find the path specified. Script /usr/bin/php-cli artisan optimize handling the post-install-cmd event returned with an error The following exception may be caused by a stale entry in your cmd.exe AutoRun Check https://getcomposer.org/doc/articles/troubleshooting.md#-the-system-cannot-find-the-path-specified-windows- for details [RuntimeException] Error Output: The system cannot find the path specified. install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...