Questions tagged [composer]
The composer tag has no usage guidance.
77
questions
5
votes
1answer
748 views
How can I install modules with Composer?
Installing a Craft 3 plugin via Composer is pretty simple. You require the package, update Composer, and install it via the CMS.
My circumstances require that our company use a private Module on all ...
1
vote
1answer
88 views
FTP Plugin Not Showing Up
I am working on a client site and trying to upload the following plugin:
https://github.com/craftcms/guest-entries
The directions instructed me to install the app via composer in my project folderj ...
1
vote
1answer
1k views
Solved: Unable to get composer running to install CraftCMS
for last weeks really I try to install composer, but it keeps complaining about SSL-problems. I searched everywhere on Google and found lots of people having the same problems, but for some reason ...
1
vote
2answers
209 views
Can't use composer with CraftCMS 3
I'm having trouble making updates using composer on a new CraftCMS 3 install. This was working at one point as I was able to require a local repository for plugin development purposes.
Any composer ...
2
votes
1answer
455 views
Can't update or install plugins locally, macOS
I'm unable to update or install plugins in Craft 3.
Running in macOS via MAMP, PHP 7.0.8.
Error: The "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8" file ...
0
votes
2answers
413 views
plugin dev with vendor packages
I haven't seen any answers specifically addressing this. While I did find a workaround, there's a bit of a gap in knowledge or guidance on this one, it seems.
I'm developing a plugin as prescribed in ...
0
votes
1answer
63 views
Query when installing plugins [closed]
When installing a plugin from the plugin store I get a popup telling me:
"The git command requires the command line developer tools. Would you like to install the tools now?"
"Choose Install to ...
1
vote
1answer
2k views
Successfully installed Craft 3 via Composer but can't access site or admin
I've been Googling around all day looking for answers to this, but I'm actually stuck.
Ok, so basically I installed Craft 3 via Composer into a subdomain on my development server (apache). Everything ...
2
votes
1answer
302 views
Copy a Craft 3 site to my local machine (MAMP)
I have a client who started a Craft CMS site with another developer. I guess the other developer quit, and now the client wants me to make some changes to the site.
The site was created with Composer ...
1
vote
1answer
402 views
Composer Error Updating Craft CMS 3 from RC13 to 14/15
PHP 7.0.28 / MySQL 5.6.38 / Craft Pro 3.0.0-RC13
While trying to update I get this error:
Error: An error occurred
Output: Loading composer repositories with package information
Updating ...
1
vote
2answers
2k views
Problem installing plugin via path repository
I am starting to play with writing a plugin in Craft 3.0. I have followed the following page. I used Plugin Factory to create my plugin structure (very nice). My folder structure is as follows:
/...
1
vote
2answers
313 views
How can I install Craft Commerce 2 alpha release?
I tried following the installation instructions here: https://docs.craftcms.com/commerce/v2/installation.html
When I run composer install craftcms/commerce, it says:
Invalid argument craftcms/...
1
vote
1answer
2k views
How To Fix “Error: Composer was unable to install the updates.”
I've been running an installation Craft CMS 3.0.0-RC13 for some time with no problems. However, now I cannot install new plugins nor can I remove any that are currently installed. I keep getting the ...
2
votes
1answer
270 views
Craft 3 Ubuntu installation error via composer setup
After running composer and then initiating craft setup I keep getting this error:
Username: [admin]
Email: abc@test.com
Password:
Confirm:
Site name: test
Site URL: test.com
Site language: [en-US]
...
1
vote
0answers
200 views
Updating Craft 3 from RC1 to RC7 throws ErrorException
I have two Craft CMS 3 websites using Vagrant/Homestead & VirtualBox as the local server. Both were on RC1, and when trying to update to RC7 I get this error:
yii\base\ErrorException: unlink(/...
1
vote
1answer
449 views
PHP warning with composer on MacOS High Sierra: Failed to open stream
We have multiple people working on a craft site using Vagrant and Virtual Box for our local server.
I am running MacOS Sierra, and everything works as expected. A couple of our other developers have ...
1
vote
3answers
914 views
How do I get past this MySQL error installing Craft 3 using CLI
I am using https://box.scotch.io/ (vagrant).
I'm trying to install Craft 3 with the cli, but can't get past these errors:
Connection refused
No such file or directory
One or the other error shows ...
1
vote
2answers
747 views
Problem setting security key when installing Craft 3
I'm new to Composer and am using a Mac along with MAMP as a local web server. I've installed Composer but it's referencing an old PHP 5 version that must be the default on my Mac.
I was able to ...
1
vote
1answer
1k views
Updating Craft 3 from RC3 to RC4 through Composer
I have a problem when updating with Composer.
My installation command line was this one:
php composer.phar create-project -s RC craftcms/craft $HOME/craft
As such, I tried to update, as per Ryan ...
1
vote
1answer
689 views
Composer conflict when installing craftcms/plugin-installer
I have installed composer successfully but when I try to add:
composer require craftcms/plugin-installer
I get the following:
Your requirements could not be resolved to an installable set of ...
6
votes
4answers
4k views
Craft 3 Command setup failing
I've installed Craft 3 through composer and I'm attempting to work through the setup process within terminal:
MacBook-Pro:~ jamie$ ~/Documents/repos/__craft-3-beta/craft setup
Which database driver ...
1
vote
1answer
677 views
Craft 3 composer installation
I have installed Craft with Composer and have run the set up command.
When I type in my database name I always get the error:
Testing database credentials... failed: SQLSTATE[HY000] [1045] Access ...
1
vote
2answers
1k views
Craft 3 via composer with Mamp Pro
Is it possible to get an idiots guide to this:
Error on Craft 3 install
I'm just not following the context of the answer/commands, a detailed step by step would be invaluable for fear of trying ...
1
vote
1answer
355 views
Craft 3 forgets plugins
Due to problems I had with Craft 3 Beta 23 I switched back to version Beta 22 (I did this a couple of times)
I do this by importing an sql dump of beta 22 and by directly requesting Beta 22 via ...
1
vote
1answer
893 views
Migrate path from 2 to 3?
Anyone have experience updating a CraftCMS site from 2.* to the 3-beta? I'm not in dire need of this at the moment, but can't seem to find it in the developer resources.
EDIT: Found the upgrade guide ...
1
vote
1answer
1k views
PHP version issue when installing Craft 3 using Composer
Why do I get the error when I try to install Craft 3?
composer create-project craftcms/craft Documents/Development/Project -s beta
The error:
[InvalidArgumentException] ...
8
votes
2answers
1k views
What would it take to make Craft composer based?
Since there is a free edition and the plugin architecture looks relatively simple, I'd like to know if anyone has an idea of how this could work. Are there any plans for it?