Category "composer-php"

Symfony autowiring issues since docker update

I'm having autowiring issues within symfony since I have updated my Docker to the latest version. I am not entirely sure of the causality here but certainly, my

PHP Deprecated issue when running artisan command

Whenever I run an artisan command I am getting this issue. I am using Valet and PHP 8.1. I have tried changing versions of PHP but I still get this issue. When

Autoload nested folder classes in custom namespace with composer

i have these directory and file structure. i want to load my Wtf class in Models namespace. in fact i want to add some providers to my project and want to locat

Class in autoloaded file not recognized

The class definition of \MyOrganization\OurLibrary\Application isn't recognized in a script in a framework package that uses the core library. It is recognized

What's the difference in the install methods of composer?

There are two ways you can install composer on Ubuntu or any linux based system. One is by using sudo apt install composer and another is by using the meth

Composer fails with kylekatarnls/update-helper on new homestead

I have installed a homestead on a new computer. I have pulled my code (which is working on my other computer as well as the server). My project is made in Larav

How to fix laravel composer update issue ( Illuminate\Foundation\ComposerScripts::postAutoloadDump failed to open stream: No such file or directory)

I'm currently working on a laravel project using an existing package for e-commerce functionality called Bagisto. I already downloaded the package files from th

Laravel installer throws error when creating new project

I am trying to create new Laravel application. I have installed XAMPP and Composer. With Composer ( composer global require laravel/installer ) I have installed

Can't find vendor/autoload.php for Ratchet

I SSH'd to my server and installed Composer and Ratchet. http://socketo.me/docs/install claims all I need to do now is include "require DIR . '/vendor/autoload.

How to install PHP composer inside a docker container

I try to work out a way to create a dev environment using docker and laravel. I have the following dockerfile: FROM php:7.1.3-fpm RUN apt-get update &&am

Composer Curl error 60: SSL certificate problem: unable to get local issuer certificate

I'm trying to get composer to work on a remote Windows-machine which is using a proxy, but I always get this error when doing a composer install/update: [Compo

How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"?

When I run composer install on command promp, there exist error like this : Problem 1 - Installation request for laravel/horizon v1.1.0 -> satisfiabl

How to downgrade or install a specific version of Composer?

I'm getting the following error in a project I'm setting up: You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you u

How to use composer with WampServer?

I am trying to use composer with my WampServer. My path for all the files is C:\wamp64\www, but when I run composer it will install the vendor file and other s

Message: Set sys_temp_dir in your php.ini after installed composer

I've tried to install composer for my CodeIgniter project. The installation was successful. But, when I type on command-line composer --version, it shows: PH

The Composer installer script did not run correctly [exit code 1]

I tried to install Composer-php in Windows 10 by downloading the executable Composer-Setup.exe from getcomposer. When prompted during installation to chose the

How to launch scripts after installing a package via Composer?

I use the command composer require otra/otra:dev-develop --no-update --no-cache && composer update --no-autoloader to install my own framework. I have p

"HTTP error" when running composer update

I'm on Windows 7. I get this error on composer update: [Composer\Downloader\TransportException] The "http://packagist.org/p/provider-2015-07%24eec61011fe6ec

Installing Composer - Internal Error

I have trouble installing Composer. After I select the php.exe path in the wizard and next thing it shows is the below error description. The PHP exe file

Composer Script echo

What is the best way to echo to the console in a composer.json script? For example, I have used the scripts section to create a custom installer and at the end