thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Laravel 5.7 support not working #3519

Closed vbasky closed 6 years ago

vbasky commented 6 years ago

Version information

Description

composer update "laravel/framework": "5.7.*@dev" not working.

Would like to know the plan to support laravel 5.7.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to composer.json
  2. Update Laravel to "laravel/framework": "5.7.*@dev"
  3. Run composer update
  4. See error

` Problem 1

Expected behavior

Composer update to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

fletch3555 commented 6 years ago

That is correct. We have not tested Voyager against 5.7, nor have we updated it's dependency versions and tested those.

vbasky commented 6 years ago

Any idea on when you plan to support ?

fletch3555 commented 6 years ago

No set schedule. It's dependent on someone (not necessarily one of the maintainers) taking the initiative to update the version strings and test it then open a pull request with the changes.

vbasky commented 6 years ago

What's the procedure to do that any docs ?

WanderingKazuma commented 6 years ago

Also looking for procedure to update version strings on dependencies or a better understanding of what dependencies and changes need to happen for 5.7 support.

cotiga commented 6 years ago

It seems very difficult. I started, but I give up because of lack of time. The "Doctrine Support" and "Voyager Hooks" dependencies are blocked in Packagist. I certainly lack skills, but it seems almost impossible for a non-collaborator. I hope the TCG team is not discouraged by the arrival of Nova. Courage, we love to travel ;)

goldnetonline commented 6 years ago

Hi all,

Anyone here with any definite time frame...

I am updating to 5.7 because of the native email verification support.

And I cannot path ways with voyager, if is embedded to the core of our system.

Nova is not a way to go now as we have a lot to cover and we are deep with voyager.

Voyager please.... (On bended knees).

spooksie commented 6 years ago

I installed 5.7 for the Auth scaffolding to save time. However, I found it wasn't compatible, so I downgraded to 5.6.* and installed Voyager. However everything works, I can login with my auth. BUT I CAN'T REGISTER as its coming up with this error

"Class Illuminate\Auth\Listeners\SendEmailVerificationNotification does not exist" Hope you get Voyager working with 5.7 as its a killer platform you have going here.

spooksie commented 6 years ago

I installed 5.7 for the Auth scaffolding to save time. However, I found it wasn't compatible, so I downgraded to 5.6.* and installed Voyager. However everything works, I can login with my auth. BUT I CAN'T REGISTER as its coming up with this error

"Class Illuminate\Auth\Listeners\SendEmailVerificationNotification does not exist" Hope you get Voyager working with 5.7 as its a killer platform you have going here.

Found a quick fix for now.

Open app>Providers>EventServiceProvider.php comment out

use Illuminate\Auth\Listeners\SendEmailVerificationNotification; & SendEmailVerificationNotification::class,

Once the 5.7 update for Voyager is out, simply undo what I said.

syedbilal55 commented 6 years ago

encountering same issue here

anwar0x09 commented 6 years ago

Still waiting for Laravel 5.7 support.

emptynick commented 6 years ago

Laravel 5.7 is now supported in Voyager 1.1.4

vbasky commented 6 years ago

Great news testing it. Thanks it works I am able to upgrade @emptynick It would be great to share the knowledge on how to add compatibility going forward which will help community to contribute. Any documentation around the same would be greatly appreciated.

emptynick commented 6 years ago

There's not the one way on how to make Voyager work with a new Laravel version. In this case we just needed to update the laravel version-constraint, but some of our required packages, like doctrine-support, needed to do the same. So we have to walk through those packages, and make sure they support 5.7, create PRs in these repos and so on.

goldnetonline commented 6 years ago

Hi all,

Today as at Tuesday September 18, 2018, I can confirm Voyager supports Laravel 5.7.

Cheers

goldnetonline commented 6 years ago

Guys,

Please fix the use of or as opposed to the new laravel ?? used on the framework for users with Laravel 5.7.

Looking at vendor/tcg/voyager/resources/views/bread/edit-add.blade.php on line 65 col-md-{{ $display_options->width or 12 }} please replace or with ??.

A quick fix for anyone is to use custom controller and edit VoyagerBreadController override the create and edit action from BaseVoyagerBreadController which is an alias of VoyagerBreadController on the main package.

Hope this helps someone.

fletch3555 commented 6 years ago

@goldnetonline, if you read up a few comments, you'll see that was taken care of a few days ago. Please make sure you've updated to 1.1.5

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.