Questions tagged [composer]

29 questions
6
votes
2 answers

Composer: The package has modified files

I am using Composer "composer update" via a cronjob to daily update an instance of software and thus run on master. About once a month this fails because Composer returns the following prompt: The package has modified files M…
kghbln
  • 173
5
votes
1 answer

Composer Install .tar.gz

Trying to install node.js via composer (for automation). "repositories": [ "type": "package", "package": { "name": "nodejs/nodejs", "version": "0.12.6", "dist": { "type": "gzip", "url":…
Daniel W.
  • 2,048
5
votes
0 answers

Invalid length of startup packet docker compose postgresql

I am trying to install/setup pgadmin4 on a linux fedora 28 machine and when I try running this command docker-compose -f docker-compose.yml -f docker-compose.dev.yml up I get these errors: postgres_1 | 2019-05-24 13:50:15.903 UTC [125] LOG: …
4
votes
4 answers

The OpenSSL extension is missing on Windows while installing Composer

While installing Composer for PHP, I get the following message: The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl How to fix this…
2
votes
1 answer

Can't run Composer

I've just installed Composer and then tried to run it, but it fails: prompt>composer '""' is not recognized as an internal or external command, operable program or batch file.   prompt>composer -v '""' is not recognized as an internal or external…
2
votes
1 answer

Error when updating composer

When updating the composer it gives this error: $ composer update PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql.so' (tried: /usr/lib/php/20180731/pdo_mysql.so (/usr/lib/php/20180731/pdo_mysql.so: undefined symbol:…
2
votes
1 answer

ATOM.io with PHP-CS-Fixer in windows

I'm a Windows user. I recently moved to ATOM.io and installed an ATOM package which uses PHP CS Fixer. Following the installation guidelines I installed PHP CS Fixer globally with Composer and it works like this from the command line: php-cs-fixer…
1
vote
2 answers

Why vendor dir is misplaced after composer update?

I've VM with the following composer.json file in /vagrant: { "require": { "drush/drush": "dev-master" } } then when I run composer update in that folder, it's downloading the requirements but to /vagrant/vendor, instead of expected…
kenorb
  • 26,615
1
vote
1 answer

error phpunit executable not found

In an API project, we have composer.json set to the following: { "require-dev": { "phpunit/phpunit": "4.7.*" }, "require": { "monolog/monolog": "1.5.*" } } And, upon the first composer install everything was fine.…
Adam T
  • 151
1
vote
0 answers

CURL/Mac: error while downloading. Protocol "https" not supported (error 1)

I experience issues with both Composer and Wordpress (npm doesn't seem to be affected ) The error message from Composer is exactly https://repo.packagist.org could not be fully loaded (curl error 1 while downloading…
Mestika
  • 991
  • 3
  • 11
  • 16
1
vote
1 answer

Installing from composer not getting main.css and main.js files

I am facing a difficulties while trying to install the fullcalendar via composer (composer.phar require "bower-asset/fullcalendar"), it is not pulling the main.css and main.js files. So, I have to do this manually by downloading the files from…
MrAwanish
  • 13
  • 2
1
vote
1 answer

Command 'phpcs' not found

I am trying to install PHPCS (PHPCompatibity) in my PHPStrom. For that I have installed PHPCS using composer with the following command: $ composer global require "squizlabs/php_codesniffer=*". In my Ubuntu 20.04, the path to phpcs executable is…
1
vote
1 answer

JIT compilation failed, no more memory in phar

I need to begin learning php and the laravel framework for my new job. However, I am stumped on how to properly install laravel using composer. When I try to install laravel using composer, I get this error: [ErrorException] preg_match(): JIT…
Jake
  • 11
1
vote
0 answers

FastCGI PHP-FPM autoload.php permission

I installed LEMP both with RH and REMI, and I have the problem as in PHP-FPM has no permission to require autoload.php and php_info(); works fine. I can require any other file but this. I also tried to set permissions to 0777 and group owners was…
1
vote
1 answer

Composer on Windows 7

I installed Composer from http://getcomposer.org in my computer with Windows 7 and xampp as web server. I want to know if there is a way to verify that the installation was successful. Is there a command I can run from the console to verify this?…
Eddy
  • 13
1
2