We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: spatie/laravel-backup 8.6.0
Happened after composer update to the newest version.
/vendor/spatie/laravel-backup/config/backup.php
'compression_method' => ZipArchive::CM_DEFAULT,
Exception:
[2024-02-16 12:41:50] local.ERROR: Class "ZipArchive" not found {"exception":"[object] (Error(code: 0): Class \"ZipArchive\" not found at /project_dir/vendor/spatie/laravel-backup/config/backup.php:128) [stacktrace] #0 /project_dir/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(138): require() #1 /project_dir/vendor/spatie/laravel-package-tools/src/PackageServiceProvider.php(33): Illuminate\\Support\\ServiceProvider->mergeConfigFrom() #2 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(788): Spatie\\LaravelPackageTools\\PackageServiceProvider->register() #3 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register() #4 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(765): Illuminate\\Foundation\\ProviderRepository->load() #5 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders() #6 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(263): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap() #7 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(447): Illuminate\\Foundation\\Application->bootstrapWith() #8 /project_dir/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(199): Illuminate\\Foundation\\Console\\Kernel->bootstrap() #9 Command line code(1): Illuminate\\Foundation\\Console\\Kernel->handle() #10 {main} "}
The text was updated successfully, but these errors were encountered:
Do you have the zip extension available?
Sorry, something went wrong.
Yes, this code runs without problems:
Artisan::command('dev:test', function () { $zip = new \ZipArchive(); $this->info('no error'); });
No branches or pull requests
Version: spatie/laravel-backup 8.6.0
Happened after composer update to the newest version.
/vendor/spatie/laravel-backup/config/backup.php
Exception:
The text was updated successfully, but these errors were encountered: