Level 34
@murilo have you added the Service Providers?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello , when I try to run the command on production -
php artisan backup:run
it says -
There are no commands defined in the "backup" namespace.
I tried to run this command on production -
sudo php artisan config:cache
sudo php artisan cache:clear
sudo composer dump-autoload
but the artisan still not recognize the laravel backup . I checked my composer.json file in the production and laravel backup is there -
"require": {
"php": "^7.2.5",
....
"spatie/laravel-backup": "^6.16",
}
do I have to run something to update this class ?
@murilo Is it installed?
composer install
Please or to participate in this conversation.