-
Notifications
You must be signed in to change notification settings - Fork 55
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
Laravel 6 #26
Comments
Probably not in the short term but happy to take PRs or add a new maintainer if someone wants to contribute. |
i try to upgrade it :) |
I just bumped version constraints in both cloner and upchuck packages, pointed composer to my forks and was able to upgrade to Laravel 6. However, some updates in tests were required as well. I use cloner in Laravel Nova to handle resource cloning, tested here and there - seems to work perfectly fine with L6. |
Spot on, I'm looking at https://github.com/ihorvorotnov/cloner/commits/master. it may be worth specifying versions restraints like https://github.com/owen-it/laravel-auditing/blob/master/composer.json#L42-L46 - this way you can allow version 5.8 and 6.0. It a shame that forks are required for smaller packages like this, as Laravel 6 is a LTS release. I guess for the time being forks are required :( |
@ultrono Yeah, I used most recent versions just to test whether it'll work with L6 out of the box, without any actual code changes. Went through L6 upgrade guide and checked for usage of changed methods etc - didn't find anything within the package code so I'm assuming it's a matter of versions bump only. Giving it another day or two for my editors to test the cloning functionality on a real project, if anything goes wrong - they'll let me know. If not - will update versions with alternatives and submit PRs to both packages. Worth mentioning that tests are actually broken (apart from using long deprecated Also, one more thing - the package uses (outdated) satooshi/php-coveralls which is deprecated and should be replaced with php-coveralls/php-coveralls. However, that should be handled in a separate PR too I believe. |
Great stuff. Have just pulled down your updates into a vanilla Laravel 6 project. Cloning simple models and models with multiple relations worked great 👍 |
I released this as 3.5.0, thanks @djoudi. Also, if anyone wants to get involved as a maintainer, lemme know and I'll add you to the project. |
Actually, not sure of it's just myself but the changes aren't present on packagist or the main repository i.e. https://github.com/BKWLD/cloner/blob/master/composer.json#L13 vs Laravel 6 support from #27 at Line 13 in f53a74e
|
i don't see the change at 3.5.0 release |
Are you planning to support Laravel 6?
The text was updated successfully, but these errors were encountered: