composer-php

GitLab: Composer Install private repository with ssh key (still get error failed to download)

两盒软妹~` 提交于 2021-02-10 05:12:42
问题 I have no issue to clone from my local machine of the private repository, however, when I want to download the file via composer it asks me to create an auth.json file (I don't want this and I don't want to use a token). Do you have an idea why this happens? composer.json "require": { .. "myname/my-app": "*", .. }, "repositories": [ { "type": "vcs", "url": "git@gitlab.com:myname/my-app.git", }, ] I tried to add "no-api": true , I tried to set dev-master but failed. To test it out, I created a

GitLab: Composer Install private repository with ssh key (still get error failed to download)

好久不见. 提交于 2021-02-10 05:12:33
问题 I have no issue to clone from my local machine of the private repository, however, when I want to download the file via composer it asks me to create an auth.json file (I don't want this and I don't want to use a token). Do you have an idea why this happens? composer.json "require": { .. "myname/my-app": "*", .. }, "repositories": [ { "type": "vcs", "url": "git@gitlab.com:myname/my-app.git", }, ] I tried to add "no-api": true , I tried to set dev-master but failed. To test it out, I created a

GitLab: Composer Install private repository with ssh key (still get error failed to download)

旧巷老猫 提交于 2021-02-10 05:12:31
问题 I have no issue to clone from my local machine of the private repository, however, when I want to download the file via composer it asks me to create an auth.json file (I don't want this and I don't want to use a token). Do you have an idea why this happens? composer.json "require": { .. "myname/my-app": "*", .. }, "repositories": [ { "type": "vcs", "url": "git@gitlab.com:myname/my-app.git", }, ] I tried to add "no-api": true , I tried to set dev-master but failed. To test it out, I created a

Incompatibility with maker bundle and Registry - SYMFONY

为君一笑 提交于 2021-02-08 06:56:27
问题 I'm new to Symfony and I'm creating a blog for personal use. But when I try to add fields to an entity using the command php bin/console make:entity an error pops out. Argument 2 passed to Symfony\Bundle\MakerBundle\Validator::validateDoctrineFieldName() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, call ed in C:\Users\user\Documents\CODING\Symfony\calidad\vendor\symfony\maker-bundle\src\Maker\MakeEntity.p hp on

err : Your requirements could not be resolved to an installable set of packages

末鹿安然 提交于 2021-02-08 06:51:06
问题 hello I have one problem Composer JSON https://pastebin.com/qfi10DAX I have this error : Problem 1 - Installation request for symfony/http-kernel dev-master -> satisfiable by symfony/http-kernel[dev-master]. - symfony/http-kernel dev-master requires symfony/error-catcher ^4.4|^5.0 -> satisfiable by symfony/error-catcher[4.4.x-dev] but these conflict with your requirements or minimum-stability. Problem 2 - symfony/web-server-bundle dev-master requires symfony/http-kernel ^4.4|^5.0 ->

err : Your requirements could not be resolved to an installable set of packages

瘦欲@ 提交于 2021-02-08 06:48:55
问题 hello I have one problem Composer JSON https://pastebin.com/qfi10DAX I have this error : Problem 1 - Installation request for symfony/http-kernel dev-master -> satisfiable by symfony/http-kernel[dev-master]. - symfony/http-kernel dev-master requires symfony/error-catcher ^4.4|^5.0 -> satisfiable by symfony/error-catcher[4.4.x-dev] but these conflict with your requirements or minimum-stability. Problem 2 - symfony/web-server-bundle dev-master requires symfony/http-kernel ^4.4|^5.0 ->

err : Your requirements could not be resolved to an installable set of packages

家住魔仙堡 提交于 2021-02-08 06:47:11
问题 hello I have one problem Composer JSON https://pastebin.com/qfi10DAX I have this error : Problem 1 - Installation request for symfony/http-kernel dev-master -> satisfiable by symfony/http-kernel[dev-master]. - symfony/http-kernel dev-master requires symfony/error-catcher ^4.4|^5.0 -> satisfiable by symfony/error-catcher[4.4.x-dev] but these conflict with your requirements or minimum-stability. Problem 2 - symfony/web-server-bundle dev-master requires symfony/http-kernel ^4.4|^5.0 ->

How to use path type local repository with Composer

时光毁灭记忆、已成空白 提交于 2021-02-08 05:23:20
问题 I am relatively new to Composer and have been looking for an example of using a local repository using the path repo type. I've found several articles (e.g. this one and this one on the topic, but when I try the examples I end up getting an error like: The requested package myvendor/mylibrary could not be found in any version, there may be a typo in the package name. So I thought I'd create a super-simple example of what I'm trying in hopes that someone can point me in the right direction. My

How to Require Package Into Laravel Project with Composer

早过忘川 提交于 2021-02-08 03:56:18
问题 I am new to Laravel and Composer, and am following some guides including LaraCasts.com . One of the things that need to be done is use Composer to require packages to use in the Laravel project. However, this doesn't work for me. I installed Laravel using the composer create-project method (http://laravel.com/docs/5.0), and so far everything was fine. However, any package I "require" now actually goes into the C:\Users\user\vendor folder, and the composer.json file is in C:\Users\user. I

Xdebug runs for all cli commands despite remote_autostart being disabled

让人想犯罪 __ 提交于 2021-02-07 17:54:27
问题 Without completely disabling Xdebug from the php.ini I'm currently unable to stop Xdebug from running for all cli commands. Previously I would toggle remote_autostart to enable if I needed to debug through cli. My problem is in particular causing issues with composer, effectively making it unrunnable. Composer claim that composer should restart without Xdebug running if they see it is running, this is supposedly fixed from composer version 1.3 forward, but I'm using composer 1.7.3. This is