[英]laravel5 user role and permission
i had laravel4.2 project and now I want to migrate it to laravel5 but,with cartalyst/sentry": 2.1.*
role and permission not working please give me suggestion what i should do for it. 我有laravel4.2项目,现在我想将其迁移到laravel5,但要使用
cartalyst/sentry": 2.1.*
角色和权限不起作用,请给我建议我应该怎么做。
"require": {
"laravel/framework": "4.2.*",
"cartalyst/sentry": "2.1.*",
"intervention/image": "2.0.5",
"barryvdh/laravel-ide-helper": "~1.11",
"barryvdh/laravel-debugbar": "~1.8",
"dinesh/easyform": "dev-master",
"google/recaptcha": "~1.1"
},
Insert 插入
"cartalyst/sentry": "dev-feature/laravel-5"
In your json file and do a composer update. 在您的json文件中,并进行作曲家更新。 It should use the L5 version ( its still in development though. ) or you could use Zizaco's Confide and Entrust packages.
它应该使用L5版本(尽管仍在开发中。),也可以使用Zizaco的Confide和Entrust软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.