for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Providers;
use App\Services\DownloadService;
use Illuminate\Support\ServiceProvider;
class DownloadServiceProvider extends ServiceProvider
{
public function register(): void
app()->singleton('Download', static function (): DownloadService {
return app(DownloadService::class);
});
}