@n2fole00 You‘re not going to find any nice videos or reading sources because migrating a project is very project-specific.
When I’ve worked on projects like this where you’re converting a vanilla PHP application to a framework like Laravel, I usually:
- Create a new Laravel project
- Rename Laravel’s public/index.php file to public/laravel-index.php
- Dump the old application’s files in the public directory
- Configure the web server to either try and pass the request through Laravel’s front controller first, or fall back to passing the request to a script with the requested filename/URI
This then gives you an integration point, and you can start slowly re-factoring scripts into Laravel controllers and whatnot.
So, initially, all requests should just be getting handled by the legacy application. Find a single script/endpoint, convert it to a Laravel route and delete the old script, and you now have a single route being handled by Laravel, with the rest falling back to the legacy application. If you repeat this process, you should find the number of Laravel classes grow, and the number of legacy files shrink, until you have none of the legacy application’s files left.