Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer issues #1

Open
MichalNemec opened this issue Jun 23, 2019 · 7 comments
Open

composer issues #1

MichalNemec opened this issue Jun 23, 2019 · 7 comments

Comments

@MichalNemec
Copy link

MichalNemec commented Jun 23, 2019

"require": {
        "php": ">=5.5.0",
        "nullref/yii2-blog": "*",
        "nullref/yii2-category": "*",
        "nullref/yii2-cms": "*",
        "nullref/yii2-core": "*",
        "nullref/yii2-full-admin": "dev-master",
        "nullref/yii2-product": "dev-master",
        "nullref/yii2-useful": "dev-master",
        "vlucas/phpdotenv": "~1.0@dev",
        "yiisoft/yii2": ">=2.0.13",
        "yiisoft/yii2-bootstrap": "^2.0",
        "yiisoft/yii2-shell": "^2.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0"
    },
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package nullref/yii2-useful (locked at v0.0.4, required as dev-master) is satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
  Problem 2
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - nullref/yii2-category dev-master requires nullref/yii2-useful ^0.0.4 -> satisfiable by nullref/yii2-useful[v0.0.4] but these conflict with your requirements or minimum-stability.
    - Installation request for nullref/yii2-category (locked at dev-master, required as *) -> satisfiable by nullref/yii2-category[dev-master].

@ZAYEC77
Copy link
Contributor

ZAYEC77 commented Jun 23, 2019

is it list of all your dependencies?

@MichalNemec
Copy link
Author

just in case -> whole composer.json

{
    "name": "nullref/yii2-app",
    "description": "Yii 2 Project Template",
    "keywords": ["yii2", "framework", "project template"],
    "type": "project",
    "license": "MIT",
    "authors": [
        {
            "name": "Dmytro Karpovych",
            "email": "ZAYEC77@gmail.com"
        }
    ],
    "support": {
        "issues": "https://github.com/NullRefExcep/yii2-boilerplate/issues",
        "source": "https://github.com/NullRefExcep/yii2-boilerplate"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.5.0",
        "nullref/yii2-blog": "*",
        "nullref/yii2-category": "*",
        "nullref/yii2-cms": "*",
        "nullref/yii2-core": "*",
        "nullref/yii2-full-admin": "dev-master",
        "nullref/yii2-useful": "dev-master",
        "vlucas/phpdotenv": "~1.0@dev",
        "yiisoft/yii2": ">=2.0.13",
        "yiisoft/yii2-bootstrap": "^2.0",
        "yiisoft/yii2-shell": "^2.0",
        "yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0"
    },
    "require-dev": {
        "codeception/codeception": "^2.2",
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ],
    "config": {
        "process-timeout": 1800,
        "sort-packages": true,
        "fxp-asset": {
            "enabled": false
        }
    },
    "scripts": {
        "post-create-project-cmd": [
            "yii\\composer\\Installer::postCreateProject",
            "cp .env.example .env"
        ]
    },
    "extra": {
        "yii\\composer\\Installer::postCreateProject": {
            "setPermission": [
                {
                    "runtime": "0777",
                    "web/assets": "0777",
                    "yii": "0755"
                }
            ],
            "generateCookieValidationKey": [
                "src/config/web.php"
            ]
        }
    }
}

@ZAYEC77
Copy link
Contributor

ZAYEC77 commented Jun 23, 2019

so, you have setup our skeleton and than add product module?

@MichalNemec
Copy link
Author

yes, im trying all modules which are available and i got stuck on this.
I have followed all your stuff, for compatibility

@ZAYEC77
Copy link
Contributor

ZAYEC77 commented Jun 23, 2019

Actually, we don't have to much useful staff in this module, so, you could skip it for now.
I'll try to resolve this issue as soon as possible.

@MichalNemec
Copy link
Author

Okay, no problem, thanks for such a speedy responses tho

@ZAYEC77
Copy link
Contributor

ZAYEC77 commented Jun 24, 2019

I have reviewed the code of this repository, I had created it two years ago and now its implementation looks for me to bad to maintain it.
The main idea of this package is providing a flexible way to configure products entity at the website.
For those purposes, we have a better solution call EAV.
I recommend you to check it instead of this package.
I'll update readme of this package to prevent future confusions.

ZAYEC77 added a commit that referenced this issue Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants