restore composer.json, add mysqli extension

This commit is contained in:
2026-04-15 17:02:52 +05:00
commit 77cf56a348
4317 changed files with 1397107 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
namespace App\Http\Controllers;
//use App\Helpers\Sms;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
//use LaravelSmpp\SmppService;
//use LaravelSmpp\SmppServiceInterface;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
// public function send(SmppServiceInterface $smpp)
// {
// dd($smpp->sendOne(998946404476, 'test sherali kachok'));
// }
protected function info(string $text)
{
$this->sendAlert('info', $text);
}
protected function success(string $text)
{
$this->sendAlert('success', $text);
}
protected function error(string $text)
{
$this->sendAlert('error', $text);
}
private function sendAlert(string $type, string $text)
{
request()->session()->flash($type, $text);
}
}