fahmiardi / laravel-mongodb-permission

5 stars 4 forks source link

installation failed #2

Closed abedbilani closed 7 years ago

abedbilani commented 7 years ago

i am having this error when trying to install this package **Problem 1

composer file : "require": { "php": ">=5.6.4", "laravel/framework": "5.4.", "laravelcollective/html": "5.4.", "barryvdh/laravel-elfinder": "^0.3.8", "magyarjeti/laravel-lipsum": "^1.1", "predis/predis": "~1.0", "intervention/image": "^2.3", "jenssegers/mongodb": "^3.2", "spatie/laravel-permission": "~2.3", "moloquent/moloquent": "^0.3.0" },

fahmiardi commented 7 years ago

This package doesn't support for lavarel 5.4. because conflict with moloquent package. When moloquent full support for laravel 5.4., I'll update this package.

Thanks

On Aug 1, 2017 7:53 PM, "abedbilani" notifications@github.com wrote:

i am having this error when trying to install this package

Problem 1 - Installation request for fahmiardi/laravel-mongodb-permission ^0.3.0 -> satisfiable by fahmiardi/laravel-mongodb-permission[0.3]. - fahmiardi/laravel-mongodb-permission 0.3 requires spatie/laravel-permission ~1.5.2 -> satisfiable by spatie/laravel-permission[1.5.2, 1.5.3] but these conflict with your requirements or m inimum-stability.

composer file : "require": { "php": ">=5.6.4", "laravel/framework": "5.4. ", "laravelcollective/html": "5.4.", "barryvdh/laravel-elfinder": "^0.3.8", "magyarjeti/laravel-lipsum": "^1.1", "predis/predis": "~1.0", "intervention/image": "^2.3", "jenssegers/mongodb": "^3.2", "spatie/laravel-permission": "~2.3", "moloquent/moloquent": "^0.3.0" },

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fahmiardi/laravel-mongodb-permission/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJVSkuohARv9dhtu2JvrhZlX16PHOE7ks5sTx-5gaJpZM4OprtZ .

abedbilani commented 7 years ago

what package should i use for this to work safely

event though https://moloquent.github.io/master/#for-laravel-50 moloquent supports laravel >= 5.0

fahmiardi commented 7 years ago

I suggest you to setup your composer.json like this:

"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"laravelcollective/html": "5.3.*",
"barryvdh/laravel-elfinder": "^0.3.8",
"magyarjeti/laravel-lipsum": "^1.1",
"predis/predis": "~1.0",
"intervention/image": "^2.3",
"moloquent/moloquent": "^0.3.0",
"fahmiardi/laravel-mongodb-permission": "^0.3"
}

The main reason I use moloquent instead jenssegers/mongodb is because of I use laravel passport package. By the way, my package is still support only for laravel 5.3.*

abedbilani commented 7 years ago

that worked very well

Thank you for your help

fahmiardi commented 7 years ago

You are welcome. I'll close this issue.