修改 composer.json
"repositories": [ { "type": "path", "url": "/full/or/relative/path/to/development/package" } ]
然后 composer require "{package} @dev"
修改 composer.json
"repositories": [ { "type": "path", "url": "/full/or/relative/path/to/development/package" } ]
然后 composer require "{package} @dev"