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

therealised's avatar

Laravel project in GIT, pull request causing problems

Hi guys! I am working with my fellow students with Laravel. This is our first time using Laravel. We are using GIT (aswell for our firsttime). Every member got his own branch etc.

The problem: whenever I pull the code from another remote branch, I will get a merge conflict. However after manually solving the conflict, (using theirs) , the application doesn't work properply.

The pages aren't showing anything, the Vue template is not working and the data is not shown.

i have tried to run npm install after the merge, composer update aswell, still no luck.

I hope one of you can help me out!

0 likes
5 replies
Shocm's avatar

There's really not enough information here for anyone to help you. When you say "manually solving the conflict, (using theirs) " I assume you mean you have their code overwrite yours. At this stage it's not a GIT issue, you would need to troubleshoot like a normal application. I would start with tailing the laravel.log file using something like tail -f storage/logs/laravel.log and see what it's reporting. Sounds like you have some debugging to do.

You may also need to run composer install if your other classmates have different packages installed.

therealised's avatar

@SHOCM - I have tried to do composer install after the merge. Yet no luck. "tail -f storage/logs/laravel.log" didn't report something special.

Any idea how we can implement GIT and laravel correctly without having code/version issues?

munazzil's avatar

Have check that composer install in your pc and node.js?

try below command

   composer update --no-scripts
YeZawHein's avatar
Level 14

@therealised composer update will be update packages' versions in composer.json and can cause version issues.Just use composer install

Please or to participate in this conversation.