PHP code example of etsvthor / laravel-cashregister-bridge
1. Go to this page and download the library: Download etsvthor/laravel-cashregister-bridge 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/ */
etsvthor / laravel-cashregister-bridge example snippets
return [
'service_id' => env('CASHREGISTER_SERVICE_ID'),
'secret' => env('CASHREGISTER_SECRET'),
'base_url' => env('CASHREGISTER_BASE_URL', 'https://kassa.thor.edu`'),
];
foreach(Webform::all() as $webform){
$webform->touch();
}
foreach(WebformSubmission::all() as $webform_submission){
$webform_submission->touch();
}
bash
php artisan vendor:publish --tag="cashregister-bridge-config"