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

Can't get package to work in Laravel 6 #242

Open
LordZardeck opened this issue Oct 10, 2019 · 4 comments
Open

Can't get package to work in Laravel 6 #242

LordZardeck opened this issue Oct 10, 2019 · 4 comments

Comments

@LordZardeck
Copy link

Has anyone successfully got this package working in Laravel 6 on a clean Laravel project?

I've had to make a bunch of migration changes in order for the migrations to even run, then when I finally got them running, I started getting errors with HasRole trying to call the starts_with method, which was apparently changed in Laravel 6 to Str::startsWith (https://laravel.com/docs/6.x/helpers#method-starts-with)

If anyone has gotten this working with Laravel 6 can you describe how?

@alec-joy
Copy link
Contributor

Use this fork for now, I'm still finding things and this package isn't being updated frequently. I'll open pull requests back to this package as I find things but they may take awhile to get merged back in https://packagist.org/packages/phoenix-group-of-virginia/laravel-acl

@kodeine
Copy link
Owner

kodeine commented Oct 21, 2019

@alec-joy if you have PR's ready please send those ill merge them asap, im traveling so fixing this at this time is difficult. Thank you for your submissions!

@alec-joy
Copy link
Contributor

@kodeine I will open a PR tonight from my personal github account, ajoy39. I need to add some more tests and try to refactor some of the old compatibility code a bit, that's where most of the problems are coming from. Both applications I tested 2.0 on were apps that had been updated to 6.0 from 5.x versions so I missed some of the changes that don't carry over to a clean install.

@kodeine
Copy link
Owner

kodeine commented Oct 21, 2019

@alec-joy thank you very much for your support.

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

3 participants