ivanamat / cakephp3-aclmanager

CakePHP 3.x - Acl Manager
MIT License
27 stars 27 forks source link

unable to install with cakephp 3.4 #13

Closed dhananjayve closed 7 years ago

dhananjayve commented 7 years ago

Hello Please update this plugin for cakephp 3.4

ivanamat commented 7 years ago

Hi @dhananjayve, I'm using this plugin with CakePHP 3.4.7. Try updating everything with "composer update".

Regards!

dhananjayve commented 7 years ago

HI @ivanamat Please check this

PS D:\xampp\htdocs\cakelocal> composer update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

ivanamat commented 7 years ago

Hi @dhananjayve

In my composer.json, in requirements I have the following, compare a see if it can serve you.

"require": {
        "php": ">=5.5.9",
        "cakephp/cakephp": "~3.2",
        "mobiledetect/mobiledetectlib": "2.*",
        "cakephp/migrations": "~1.0",
        "cakephp/plugin-installer": "~0.0",
        "cakephp/acl": "~0.2",
        "ivanamat/cakephp3-aclmanager": "~1.0",
        "ivanamat/cakephp3-bootstrap3": "dev-master",
        "ivanamat/cakephp3-markdown": "~1.0",
        "ivanamat/cakephp3-documents": "~1.0",
        "ivanamat/cakephp3-captcha": "dev-master"
    },

In the plugin the acl-manager de requirements are:

composer/installers": "*",

If you still have problems, can you copy paste your composer.json please?

Regards!

diego182 commented 7 years ago

I guess the problem is that the plugin installer requires "cakephp/plugin-installer": "~0.0", while CakePHP require "cakephp/plugin-installer": "~1.0"

pfuri commented 7 years ago

@diego182 you are correct, CakePHP updated cakephp/plugin-installer to 1.0 and that's why you are having issues. I created a pull request to update the version about 2 weeks ago: https://github.com/ivanamat/cakephp3-aclmanager/pull/16

Have you tried to install using --ignore-platform-reqs?

ngrunfeld commented 7 years ago

Same problem here, --ignore-platform-reqs doesnt fix it