Skip to content
Advertisement

Tag: composer-php

Problems with installing composer

I am currently trying to install composer in order to install laravel. Following their website instructions, I am entering the following code into my terminal: But without success, I get the following error: This gives me the notion that I do not have permission to do this, is this the reason and why is it occurring? Answer While I was

How to set php version for composer when having multiple xampp versions?

I have two xampp versions in my machine one have php version 5.4 and other having 7.1(recently installed.) I usually use composer command to download laravel. previously i get laravel version 5.0.X when i download because of my php vesrion(5.4) but even after installing new xampp(having php version 7) composer is downloading laravel 5.0.x only. When i check my php

Laravel throws ‘The bootstrap/cache directory must be present and writable’ error after update

I used ‘composer update’, which updated a few packages. During the updating process the website still functions. However, after it says ‘The compiled services file has been removed’, the website doesn’t load and instead says: The weirdest thing is, when I run ‘composer update’ again, the website starts to work again, until the compiled services file is removed, at which

PHP codesniffer path to whole project

I`m new to this but i have installed composer and with it installed PHP Codesniffer. Now, how can i use php codesnifer to check for files in my entire project folder? My directory structure is something like this: If i try to run it will check the files inside of the functions files inside of the functions directory but i

using SncRedisBundle on platform.sh

I’m trying to get my app hosted by platform.sh, my problem is that I use SncRedisBundle, with this config: When I push to platform.sh, their build process include a call to composer update, which end like this: Generating optimized autoload files > IncenteevParameterHandlerScriptHandler::buildParameters > SensioBundleDistributionBundleComposerScriptHandler::buildBootstrap > SensioBundleDistributionBundleComposerScriptHandler::clearCache Script SensioBundleDistributionBundleComposerScriptHandler::clearCache handling the symfony-scripts event terminated with an exception [RuntimeException] An error

Composer installation requirements

I am trying to install composer to the laravel project. When im doing sudo composer install in projects directory it shows me two errors: I was checking how to install it and I found these commands: composer require simplesoftwareio/simple-qrcode composer require esendex/sdk Anyway, they are giving me the same error. Is there anything I can do about it? Answer Looks

Advertisement