first commit

This commit is contained in:
2025-04-24 23:28:22 +03:30
commit c0d0b95442
116 changed files with 14014 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Http;
class SendSMSJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(private $data)
{
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
$response = Http::connectTimeout(5)->timeout(5)->get(config('kave.verify'), [
'receptor' => $this->data['mobile'],
'template' => $this->data['template'] ?? 'verify',
'token' => $this->data['token'],
]);
}
}