Skip to content

composer permission problem

Sometimes, composer ask you for repository permission at first installation. This is a public repository and this shouldn't be. I think that is a problem of gitlab.

But there is a simple solution:

Install the dev-master version first and then update to production version.

  1. Install package
composer require daily-five/framework:dev-master
  1. Change from dev-master to production version in composer.json
"require": {
        "daily-five/framework": "^0.1"
}

0.1 is an example version. Use the last production version instead or which ever you need.

  1. Update library
composer update daily-five/framework
Edited by Stephan Sandriesser