Questions tagged [composer]
The composer tag has no usage guidance.
29
questions
0
votes
0
answers
90
views
Can I install PHP libraries with Composer and is it a best practice?
A few years back I used to install PHP libraries on my Debian system this way:
apt install php-mbstring php-gettext php-cli php-mysql
Can I install these and other PHP libraries with Composer and is ...
1
vote
0
answers
134
views
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 ...
1
vote
1
answer
230
views
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 ...
1
vote
1
answer
3k
views
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=*&...
0
votes
1
answer
91
views
Do I need Composer on my production (GoDaddy) server?
I have been trying to get an answer to this for years (and yes I have looked at answers here, SO and elsewhere).
My situation: I have a modest, but fairly complex site with only me working on it. ...
2
votes
1
answer
1k
views
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
'""'...
-1
votes
1
answer
52
views
Hyperledger Composer with hlfv14
I'm having issues on deploying hyperledger [email protected] with hlfv14 multi org, multi-nodes setup.
My putty screen disappeared when entering this Composer command. Keys are in place.
$composer card ...
0
votes
2
answers
9k
views
SSL Verify Failed error while insatlling Composer on Windows 7 with proxy
My error is whenever I try to install Composer using both the GUI and command line I get the same error with SSL verification failing and thus can't connect to HTTPs through my proxy. I am on a ...
5
votes
0
answers
3k
views
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:
...
0
votes
1
answer
5k
views
Composer killed when setup laravel in Godaddy Server
I want to setup my laravel project on Godaddy server but when I am creating laravel project on Godaddy server, composer killed the process.
composer require doctrine/dbal
composer.json has been ...
1
vote
1
answer
3k
views
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 ...
1
vote
0
answers
1k
views
FastCGI PHP-FPM autoload.php permission [closed]
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 ...
2
votes
1
answer
540
views
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/...
0
votes
1
answer
63
views
Unable to run the command
I trying to install the composer..... tried to run this command
sudo apt install curl php-cli php-mbstring git unzip
on ubuntu 18.10 .... I got this message displayed on cmd
sudo apt install curl ...
0
votes
0
answers
259
views
Apache server shows 404 with existing files — possible user/group/ownership issue?
So, the instructions for creating a Drupal site with Composer state to never run Composer as root. So I created a new user "xylot" in the group of the same name (xylot:xylot), and created the site ...
0
votes
1
answer
2k
views
composer update Failed to decode response: zlib_decode(): data error
recently I changed my development environment from windows to linux. I setup a lamp server with phpmyadmin and installed composer using sudo apt-get install composer
Then I tried sudo composer update ...
0
votes
1
answer
781
views
PHP and not connecting with Composer
My PC is unable to reach certain websites like composer's website with PHP and composer. To install composer I had to use a VPN which I dislike and therefore wanted to find the fix. I installed XAMPP ...
1
vote
1
answer
1k
views
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 ...
1
vote
1
answer
1k
views
how to update openssl 0.9.8 to 1.0.1 in easyphp
I am really new to this, and I am not sure how I should approach this. I am trying to download composer to my easyPHP-webserver, but enable to run composer I need newer openssl. Thanks in advance.
0
votes
1
answer
2k
views
how to add mongodb.so to AMPPs
I want to use MongoDB in my laravel project, when I'm trying to add mongoDB driver to composer I get :
Problem 1
- mongodb/mongodb 1.0.3 requires ext-mongodb ^1.1.0 -> the requested PHP ...
2
votes
1
answer
2k
views
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 ...
0
votes
1
answer
5k
views
Could not open input file: composer.phar while new laravel project is created
I have installed composer globally using the steps mentioned in https://getcomposer.org/
But after installing Laravel framework, when I create a new laravel project, the following error is thrown.
...
4
votes
4
answers
37k
views
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 ...
0
votes
1
answer
10k
views
How should I disable the enabled xdebug, not able to download Laravel and use with wampserver?
Command prompt shows it while trying to download and install Laravel.
1
vote
2
answers
587
views
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 ...
1
vote
1
answer
178
views
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 ...
5
votes
1
answer
4k
views
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": {
...
6
votes
2
answers
4k
views
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 ...
0
votes
1
answer
773
views
error when i install larevel using composer in ubuntu
/opt/lampp/htdocs# composer create-project laravel/laravel sampleApp --prefer-dist
[Composer\Downloader\TransportException]
The "https://packagist.org/...