Open httpoz opened 8 years ago
I'm using this package and planning to upgrade to Laravel 5.3.
If it's breaking I'll delay the upgrade.
same here, 5.3 broke a lot of packages for me...
same here
@romanbican are you planning on looking into it/providing support for Laravel 5.3??
Just read through this thread, could shed some light on the lack of activity on this repo https://github.com/romanbican/roles/issues/180
@httpoz I've found a solution for L5.3. How can i share the changes in code?
@emiliomedina21 I just forked, you can throw it here if you don't mind:
@httpoz Go to https://github.com/emiliomedina21/roles
Hey guys,
To fix it temporary use this:
I. Add VCS Repo to your composer.json
"repositories": [ { "type": "vcs", "url": "https://github.com/nikolaynesov/roles.git" } ]
II. Change version of the package in composer.json
"bican/roles": "dev-master",
Hopefully it may help.
in the blade, it is throwing an error of ErrorException in Builder.php line 2448: Call to undefined method Illuminate\Database\Query\Builder::isRole() what i need to do..?
So Bican has no longer maintained the package, but I think this is a really good roles management package, simple but enough. Is there any chance we have someone to be a contributor without Bican? No disrepectful but I don't want to see this stop, even though there are other forks.
所以Bican已不再维护包,但我认为这是一个非常好的角色管理包,简单但足够。我们有没有机会成为没有Bican的贡献者?没有不尊重,但我不想看到这个停止,即使有其他的叉子。
yes
[ErrorException]
Declaration of Bican\Roles\Traits\HasRoleAndPermission::is(Bican\Roles\Models\Role $role, $all = false) should be compatible with Illuminate\Database\Eloquent\Model::is(Illuminate\Database\Eloquent\Model $model)