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

deicool's avatar

Error when running the command "sudo php artisan route:list --except-vendor"

Hello

I am a newbie. And am following the instructions from the article (https://www.codemag.com/Article/2207041/Building-MVC-Applications-in-PHP-Laravel-Part-1).

When I run the command "sudo php artisan route:list --except-vendor", I get the error: The "--except-vendor" option does not exist.

Any idea how do I resolve this?

Please advise. Thanks.

(Ubuntu 20, PHP 7.4.3, Laravel Framework 8.83.23)

0 likes
10 replies
deicool's avatar

Is there a command to achieve the same functionality of 9.3 in 8.83?

deicool's avatar

I am unsure whether to continue in this forum. However I am getting the error when I run 'composer update':

Problem 1 - spatie/laravel-ignition[1.0.0, ..., 1.4.1] require ext-curl * -> it is missing from your system. Install or enable PHP's curl extension. - Root composer.json requires spatie/laravel-ignition ^1.0.0 -> satisfiable by spatie/laravel-ignition[1.0.0, ..., 1.4.1].

Tray2's avatar

@deicool you need to install curl on your Ubuntu machine using sudo apt-get install curl

deicool's avatar

@Tray2 Already installed. Please see below

sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done curl is already the newest version (7.68.0-1ubuntu2.13). The following packages were automatically installed and are no longer required: php7.4-mbstring php7.4-xml Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.

Sinnbeck's avatar

@deicool That should be sudo apt install php8.1-curl (replace 8.1 with 8.0 if thats your version

2 likes

Please or to participate in this conversation.