Files
dreamstudio/app/Providers/AppServiceProvider.php
T
root 79320950e7 Initial commit: Runware-powered content generator foundation
Laravel app with a cost-tracked Runware.ai integration (image, video,
text generation), a hard monthly EUR budget cap with live USD/EUR FX
conversion, and a locally-maintained model/pricing table since
Runware's model-search API doesn't expose pricing.
2026-09-23 15:59:05 +03:00

29 lines
596 B
PHP

<?php
namespace App\Providers;
use App\Services\Runware\RunwareClient;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
$this->app->singleton(RunwareClient::class, fn () => new RunwareClient(
apiKey: (string) config('runware.api_key'),
baseUrl: (string) config('runware.base_url'),
));
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}