YiiBridge icon indicating copy to clipboard operation
YiiBridge copied to clipboard

Register on Packagist

Open cebe opened this issue 11 years ago • 12 comments

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

cebe avatar Jun 14 '14 14:06 cebe

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.

Ragazzo avatar Jun 15 '14 12:06 Ragazzo

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 avatar Jul 10 '14 05:07 badams

@badams change the "url" value: "url" : "https://github.com/Codeception/YiiBridge.git"

lucor avatar Jul 28 '14 11:07 lucor

Still getting the same issue even with the given url.

dilumdarshana avatar Jul 29 '14 05:07 dilumdarshana

@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 avatar Jul 29 '14 05:07 badams

@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" } }

dilumdarshana avatar Jul 29 '14 05:07 dilumdarshana

So any news on this ?

ghost avatar Aug 25 '14 08:08 ghost

@DavertMik can you look on this one please ?

Ragazzo avatar Aug 25 '14 08:08 Ragazzo

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."

drewpc avatar Sep 25 '14 19:09 drewpc

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 avatar Oct 08 '16 16:10 konstin

@konstin but it points to forked repository https://github.com/lubobill1990/codeception-yii-bridge

freezy-sk avatar Sep 25 '18 07:09 freezy-sk

@freezy-sk As apparently codeception themselves won't do it, I'm fine with this

konstin avatar Sep 26 '18 23:09 konstin