What is the difference between?

Published 1 week ago by babind

php artisan route: scan and php artisan route:list

Snapey
Snapey
1 week ago (476,885 XP)

One exists and the other doesn't?

babind
babind
1 week ago (8,430 XP)

which one is the standard one to use in Laravel 5.4?

shakti
shakti
1 week ago (9,230 XP)

php artisan route:list

Snapey
Snapey
1 week ago (476,885 XP)

Help is built in to the artisan command, plus one works when you try it and the other throws an error.

Is this a real question?

babind
babind
1 week ago (8,430 XP)

both of them works fine ..but the syntax is quite different, therefore I was wondering which one is the standard one?

shakti
shakti
1 week ago (9,230 XP)

@babind as per my point of view

 php artisan route:list

blueshift9

You must be running a way old version of Laravel.....wasn't "scan" dropped about the same time as annotations and then Laravel Collective has it in the annotations package since then? So, yeah - Snappy is correct in that it does exist in Laravel per se.

Sign In or create a forum account to participate in this discussion.