Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

DINESHKUMARBH's avatar

Migrate from Zend Framework to Laravel

Dear Experts my name is Dinesh from India. I am not Developer/Software background. My website built in Zend Framework and i wanted to migrate to Laravel, is it possible. When i asked to developer he told its not possible and need to rewrite code from scratch, that's why i am asking. If possiable how to migrate without rewrite, because i am not getting more developer in zend framework and rewrite from scratch is waste of time. please advice me

0 likes
8 replies
DINESHKUMARBH's avatar

Thanks for your help and time. Let me after migrated it will work same as previous framework.

gator's avatar

@DINESHKUMARBH "Migrating" the application is not feasible - The two frameworks are completely different. It will essentially have to be a "rewrite"...Create a blank laravel 5.5 project, then start with the routes file/ZF bootstrap and go from there.

If you have used good programming practices and separated your ZF code into modules/classes, it will make your job a little easier.

throwaway-account-475y3451345's avatar

@GATOR - While this depends on your codebase, it's not entirely true. When we were moving on from ZF1 to Laravel a fair amount of code did not depend on the framework and it was a straightforward migration.

@dineshkumarbh I found the best approach for us was to begin by integrating some of the vital components from the new framework into an existing code base such as eloquent which replaced zend_db, laravel request/response objects which replaced our zend_controller_request_http and Laravel's ioc containers. Which should enable you to configure laravel to run alongside zend and slowly refactor zend out of your application. This way there is virtually no downtime where your application is not receiving any features/bugfixes whilst this process is going on.

claudioc's avatar

@drohreally Hello, I need to migrate a large 10-year project from ZF1 to laravel. Could you kindly give me some more information about the process you have implemented? Thank you

ahmed_hazem's avatar

@claudioc dear could u tell me what the best actions you do to solve this migrate risks cause i have the problem with alarge 10 year project too

Please or to participate in this conversation.