Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

441 B
Raw Blame
<?php

namespace App\Providers;

use App\Services\ConfigurationRepository;
use Illuminate\Support\ServiceProvider;

class ConfigurationServiceProvider extends ServiceProvider
{
    public function register(): void
    {
        $this->app->singleton(ConfigurationRepository::class, function ($app) {
            return new ConfigurationRepository($app['config']);
        });
    }

    public function boot(): void
    {
        //
    }
}