* ZipArchive::CM_BZIP2
* ZipArchive::CM_XZ
*
* For more check https://www.php.net/manual/zip.constants.php and confirm it's supported by your system.
*/
'compression_method' => ZipArchive::CM_DEFAULT,
/*
* The compression level corresponding to the used algorithm; an integer between 0 and 9.
*
* Check supported levels for the chosen algorithm, usually 1 means the fastest and weakest compression,
{
if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) {
$config = $this->app->make('config');
$config->set($key, array_merge(
require $path, $config->get($key, [])
));
}
}
/**
if (empty($this->package->name)) {
throw InvalidPackage::nameIsRequired();
}
foreach ($this->package->configFileNames as $configFileName) {
$this->mergeConfigFrom($this->package->basePath("/../config/{$configFileName}.php"), $configFileName);
}
$this->packageRegistered();
return $this;
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
->partition(fn ($provider) => str_starts_with($provider, 'Illuminate\\'));
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$app = require_once __DIR__ . '/../bootstrap/app.php';
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
unlink($file);
}
}
// Load Laravel Framework
require 'main.php';
// ==========================================================================================
// THESE FUNCTIONS WILL RUN BEFORE LARAVEL LIBRARIES
// ==========================================================================================
Error
|
---|
Error: Class "ZipArchive" not found at /home/verbiilan.com/public_html/vendor/spatie/laravel-backup/config/backup.php:128 at require() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:138) at Illuminate\Support\ServiceProvider->mergeConfigFrom() (/home/verbiilan.com/public_html/vendor/spatie/laravel-package-tools/src/PackageServiceProvider.php:33) at Spatie\LaravelPackageTools\PackageServiceProvider->register() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:786) at Illuminate\Foundation\Application->register() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:75) at Illuminate\Foundation\ProviderRepository->load() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:763) at Illuminate\Foundation\Application->registerConfiguredProviders() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php:17) at Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:261) at Illuminate\Foundation\Application->bootstrapWith() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186) at Illuminate\Foundation\Http\Kernel->bootstrap() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/verbiilan.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/home/verbiilan.com/public_html/public/main.php:51) at require('/home/verbiilan.com/public_html/public/main.php') (/home/verbiilan.com/public_html/public/index.php:64) |