-
Notifications
You must be signed in to change notification settings - Fork 48
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
Added Support for Laravel 5 #75
base: develop
Are you sure you want to change the base?
Conversation
Thanks for this major effort. I've been in the process of switching jobs and had very little time to properly maintain this. I checked out your branch and ran a composer update. I wanted to run the tests but I run into:
Are you able to run the tests? |
Yes. I was able to run the tests in a Laravel Homestead VM. Please let me know any information that may help me recreate this. Cheers, The roots of education are bitter, but the fruit is sweet
|
Sorry didn't recognize this earlier. I ran into this earlier and it's caused by a |
Interface 'Illuminate\Support\Contracts\ArrayableInterface' not found
fix a small typo
So, I've been looking to merge this today. I believe there is a problem with the Arrayable interface. The names are different between L4 en L5 and I don't see any easy way around this. My suggestion would be to continue with Laravel 5 from now on. People still using L4 can use a different branch and any additional features could be backported if necessary. Thoughts? I will remove the L4/L5 distinction in the serviceproviders if you agree. |
Sounds Good to me. I was trying to make it as painless as possible but obviously that’s not possible. At least for package developers. Warm regards, Stay Hungry, Stay Foolish. On Apr 17, 2015, at 4:17 AM, iverberk [email protected] wrote:
|
I remember reading on Twitter that this is how Taylor suggested handling L5 upgrades. Different branches for different versions of Laravel. This package looks great and I would love to use it in my L5 project I start working on this week. Do you have an eta for L5 support? Thanks |
Use the
Iverberk\Laraserach\Providers\L5ServiceProvider
for Laravel 5 andIverberk\Larasearch\Providers\L4ServiceProvider
for Laravel 4. For backwards compatibilityIverberk\Larasearch\LarasearchServiceProvider
simple extendsL4ServiceProvider
.