11,159 questions
0
votes
1
answer
70
views
Local composer dev repo namespacing issue
I am using Composer version 2.2.25
Per https://getcomposer.org/doc/05-repositories.md#path, I have this structure:
├── path
│ └── to
│ └── composer_stuff
│ └── compiled
│ ...
-1
votes
0
answers
35
views
Unable to update to recaptcha_v3 2.0.4 for Drupal using composer [closed]
Using composer on Drupal 10.5.4 and trying to update recaptcha_v3 module from 2.0.1 to 2.0.4 and nothing happens... no error or whatsoever. If targeting sole module with composer require 'drupal/...
1
vote
1
answer
73
views
Why does doctrine/doctrine-bundle cause errors in my symfony / composer project after upgrade?
When trying to do a "composer upgrade", it fails in "@auto-scripts" when reaching doctrine/doctrine-bundle.
The error is:
Executing script cache:clear [KO]
[KO]
Script cache:clear ...
-2
votes
0
answers
23
views
How to add a github dependency on composer? [duplicate]
I tried to follow some example but it doesn't work.
I need to add a github project dependency in my composer, this is what I have done:
{
"name": "my/my",
"description&...
-1
votes
0
answers
37
views
Laravel installer error - Could not scan for classes vendor/sebastian/code-unit-reverse-lookup/src/ which does not appear to be a file [duplicate]
When trying to create a new Laravel project, the Laravel installer throws the following error:
Could not scan for classes inside "/home/aes256/test/vendor/sebastian/code-unit-reverse-lookup/src/&...
-1
votes
2
answers
84
views
Composer: how to use local symlinks for packages in development but Git versions in production
I have a project with a composer.json where some libraries are pulled from our GitLab:
"require": {
"my/library": "1.0.0",
"my/library-second": "1....
-1
votes
1
answer
95
views
laravel 9 upgrade composer conflicts
I try to Upgrading To 9 From 8, but after I applied some changes in composer.json I got error :
result laravel:
composer update Problem 1
- Root composer.json requires facade/ignition ^2.3.6 -> ...
-1
votes
1
answer
32
views
Getting composer packages from local svn repository sub folder
Suppose a local svn repository Vendor has a subfolder tt containing multiple packages: core, core-analytics and so on. Each trunk folder for each package contains a composer.json file - naturally. ...
0
votes
0
answers
38
views
How to handle sketches in Composer-based projects [duplicate]
I need to sketch out some behavior from a dependency (GuzzleHttp\Client) installed via composer. How do I finagle my include_path in a sketch (i.e. a standalone PHP script that does not use the ...
-1
votes
1
answer
106
views
How do i properly cache docker layers in my Dockerfile for a Laravel application?
Im trying to prevent PHP Composer to install it's dependencies everytime I edit my src dir files like this in my Dockerfile.
# Change working directory.
WORKDIR /var/www
# Install composer.
RUN curl -...
0
votes
1
answer
82
views
AWS Elastic Beanstalk Laravel Composer Problem
I am trying to deploy a Laravel app to Elastic Beanstalk. I have changed the .ebextensions folder for the .platform folder and am using hooks.
The app is a Laravel 12 app using AWS's PHP 8.4 running ...
0
votes
1
answer
75
views
Cleanly check whether all composer packages are still actually available
We have a number of projects that use a variety of composer packages. Recently we had an issue with one of our projects because a library is no longer available. The library - https://packagist.org/...
0
votes
2
answers
224
views
Laravel Error: Target class [files] does not exist (on fresh install)
I'm working on a fresh Laravel 12.12.0 project and facing a strange issue that I can't resolve. Whenever I try to run any Artisan command (like php artisan serve, php artisan route:list, or php ...
0
votes
0
answers
28
views
Installing github branch using composer [duplicate]
Is there a general / standard approach to installing a github branch when the "parent" is installed using composer?
To hopefully clarify: I would like to install this branch (PHP Dropbox SDK)...
-1
votes
1
answer
80
views
Composer update and composer create-project are timing out getting the https://repo.packagist.org/packages.json file
How do you fix the composer create-project test command from timing out when retrieving the https://repo.packagist.org/packages.json file?
The command composer diagnose -vv gives this output:
> ...