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

mikail10000000's avatar

Laravel 5.8 phpunit command issues

Hi, just installed fresh laravel 5.8 and the old vendor/bin/phpunit command does not work, I check the vendor/bin folder and the phpunit file is not there, what is the new way of running tests ?

0 likes
4 replies
lara120618's avatar

There is no new way. I suggest you delete the vendor directory and run composer install && composer update again.

1 like
manelgavalda's avatar

Hey, I'm also using laravel 5.8 and I don't think the way of executing tests has changed.

What is the error you are having when executing vendor/phpunit/phpunit/phpunit?

1 like
mikail10000000's avatar
mikail10000000
OP
Best Answer
Level 1

My bad, for some reason the installation downloaded incomplete laravel files, when reinstalled everything works as expected

1 like

Please or to participate in this conversation.