1. Go to this page and download the library: Download pwweb/laravel-core library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use PWWEB\Core\Jobs\UpdateExchangeRates;
//...
$schedule->job(new UpdateExchangeRates, 'target_queue')->timezone('Europe/Paris')->dailyAt('16:30');
//...
bash
ErrorException : Trying to access array offset on value of type null
at /var/www/vendor/pwweb/core/src/CoreServiceProvider.php:107
103| protected function registerModelBindings()
104| {
105| $config = $this->app->config['core.models'];
106|
> 107| $this->app->bind(CountryContract::class, $config['country']);
108| $this->app->bind(LanguageContract::class, $config['language']);
109| $this->app->bind(CurrencyContract::class, $config['currency']);
110| }
111|
Exception trace:
1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Trying to access array offset on value of type null", "/var/www/vendor/pwweb/core/src/CoreServiceProvider.php", [])
/var/www/vendor/pwweb/core/src/CoreServiceProvider.php:107
2 PWWeb\Localisation\CoreServiceProvider::registerModelBindings()
/var/www/vendor/pwweb/core/src/CoreServiceProvider.php:81
Please use the argument -v to see more details.
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.