11,140 questions
2
votes
1
answer
118
views
How can I install the Composer dependency manager when its installer has issues with my php.ini file?
I am trying to install the Composer dependency manager, hoping to use it to install phpdotenv, with the ultimate intention of linking a .env file to a PHP application I am writing for a university ...
0
votes
0
answers
47
views
Mirror Shopware Store in Private Artifactory
I want to access the plugins from the Shopware Store through a private JFrog Artifactory so that I don't have to share the Store Bearer Key with all Developers.
I have created a remote composer ...
0
votes
2
answers
139
views
Issue when install package with composer v1 [closed]
I have project run php7.2 and composer v1 . It's very old project and can't upgrade php or composer version. When I need install new lib MFA for it:
composer require spomky-labs/otphp:^9.0
but I ...
0
votes
0
answers
38
views
Locally reuse package files for independent Composer projects
Can I develop independent Composer projects that share dependencies (same package+version) without having multiple copies of each reused dependency on my computer? That's the concrete question. But I'...
0
votes
1
answer
163
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
101
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
95
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
117
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
533
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
vote
2
answers
763
views
"Illuminate\Database\QueryException" – "could not find driver"
I have a new laptop and have done a fresh install of PHP and Composer on it.
I've executed these three commands from the terminal in VS Code:
composer create-project laravel/laravel project001
cd ...
-1
votes
2
answers
171
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
155
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
42
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
41
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
161
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 -...