SMS service

This commit is contained in:
Simon Pocrnjič
2025-10-24 21:39:10 +02:00
parent 3a2eed7dda
commit 930ac83604
52 changed files with 3830 additions and 36 deletions
+8 -3
View File
@@ -2,8 +2,10 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Services\Sms\SmsApiSiClient;
use App\Services\Sms\SmsClient;
use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider;
use Inertia\Inertia;
class AppServiceProvider extends ServiceProvider
@@ -13,11 +15,14 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
//
// Inertia shared
Inertia::share([
'laravelVersion' => Application::VERSION,
'phpVersion' => PHP_VERSION
'phpVersion' => PHP_VERSION,
]);
// SMS: bind provider client
$this->app->bind(SmsClient::class, SmsApiSiClient::class);
}
/**