Register on Packagist
Just seen that the package is not on packagist, so it can not be installed easily. Can someone add it there? https://packagist.org/packages/submit
Could be useful.
Also FYI, since Yii special architecture features - exit , echo, header and other, i would rather suggest to use PhpBrowser for functional in this case.
How does one install this? I've tried adding the git repo to my composer.json file
{
"repositories": [
{
"type" : "vcs",
"url" : "http://github.com/Codeception/YiiBridge"
}
],
"require-dev": {
"codeception/codeception": "2.0.2",
"codeception/YiiBridge": "*"
}
}
But I just get the following error
Problem 1
- The requested package codeception/yiibridge could not be found in any version, there may be a typo in the package name.
@badams change the "url" value:
"url" : "https://github.com/Codeception/YiiBridge.git"
Still getting the same issue even with the given url.
@dilumdarshana I got it working with the following.
{
"minimum-stability": "dev",
"repositories": [
{
"type" : "vcs",
"url" : "https://github.com/Codeception/YiiBridge",
"reference": "origin/master"
}
],
"require-dev": {
"codeception/codeception": "2.0.2",
"codeception/YiiBridge": "dev-master"
}
}
@badams Great... Thanks... It is working with the following as well,
{
"repositories": [
{
"type" : "vcs",
"url" : "https://github.com/Codeception/YiiBridge"
}
],
"require-dev": {
"codeception/codeception": "dev-master",
"codeception/YiiBridge": "dev-master"
}
}
So any news on this ?
@DavertMik can you look on this one please ?
I attempted to submit it to Packages and got this error:
"The package name codeception/YiiBridge is invalid, it should not contain uppercase characters. We suggest using codeception/yii-bridge instead."
For anyone who might still have that problem: It is registered as "codeception/yii-bridge". So you can install it with composer require codeception/yii-bridge
@konstin but it points to forked repository https://github.com/lubobill1990/codeception-yii-bridge
@freezy-sk As apparently codeception themselves won't do it, I'm fine with this