11,152 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
126
views
Laravel Valet fails to install via Composer on Mac (Apple Silicon)
Installed composer via brew. All good. Added path to composer folder in my .zshrc file -
export COMPOSER_HOME="$HOME/.composer"
export PATH="$COMPOSER_HOME/vendor/bin:$PATH"
Ran &...
Best practices
4
votes
3
replies
79
views
How does one correctly version a Wordpress project?
I have been wondering how to version Wordpress projects correctly.
Versioning the entire Wordpress directory? I'd be versionning a lot of code that's not mine (Wordpress core, theme(s), plugins...) ...
1
vote
1
answer
73
views
Composer issue when trying to install "phpoffice/phpspreadsheet". SSL certificate problem: self-signed certificate in certificate chain
I got this error:
Composer issue when trying to install "phpoffice/phpspreadsheet". SSL certificate problem: self-signed certificate in certificate chain
When i was trying to install ...
1
vote
1
answer
110
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
│ ...
2
votes
1
answer
291
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 ...
-1
votes
2
answers
120
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
133
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
34
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
40
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
133
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
100
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
91
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
363
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 ...
-1
votes
0
answers
30
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
97
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:
> ...