leskhq / Laravel-Enterprise-Starter-Kit

👔 Enterprise Web application starter kit or template using Laravel
http://lesk.it
GNU General Public License v3.0
361 stars 176 forks source link

Upgrade to newest laravel version #121

Open makelued21 opened 6 years ago

makelued21 commented 6 years ago

hi @sroutier you job just great, your LESK very helpfull, I planed to do upgrade to newest Laravel such as Laravel 5.5, but i have a problem to understand which part that i have to do first, because this package have a huge requirement. if you don't mind to teach me. the order that you used to build this,

where is the route check for roles and permission? did you patch the zizaco/entrust with routes table?

thank you. regards

Indra Sutanto

tva3777 commented 6 years ago

is it possible to upgrade LESK to laravel 5.6? I'd like to use backpack-for-laravel (requires laravel 5.6) with LESK

sroutier commented 6 years ago

Hey guys, sorry about the late reply, I've been away.

@makelued21, the route check for roles/permissions is done in a middleware called AuthorizeRoute that you can find under app/Http/Middleware/AuthorizeRoute.php.

A great deal of the upgrade has already been completed if you look at the branch called l55. The best way that I found to upgrade is to compare the commits from the master branch which is targetting Laravel 5.0 with the l55 branch and update what is needed.

@tva3777 upgrading LEKS to Laravle 5.6 is possible it's just a matter of getting all the dependencies to work, sometimes new dependencies must be found as the old ones have not been updated, that is where the difficulty lies. As for using Backpack for Laravel, I have not tried it but would love to hear your experience with it.

Cheers. /S