repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration1.php
src/Migration/Migration1.php
<?php namespace App\Migration; use App\Enum\NamingConvention; use App\Enum\Setting; use PDO; final class Migration1 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('create table settings (id integer primary key autoincrement, setting text, value text)'); $pdo->prep...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration5.php
src/Migration/Migration5.php
<?php namespace App\Migration; use PDO; final readonly class Migration5 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('alter table downloads add column gog_game_id integer default null'); } public function getVersion(): int { return 5; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration.php
src/Migration/Migration.php
<?php namespace App\Migration; use PDO; interface Migration { public function migrate(PDO $pdo): void; public function getVersion(): int; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration0.php
src/Migration/Migration0.php
<?php namespace App\Migration; use PDO; final class Migration0 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('create table migrations (id integer primary key autoincrement, version int, created text)'); $pdo->exec('create table auth (id integer primary key autoin...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration2.php
src/Migration/Migration2.php
<?php namespace App\Migration; use PDO; final readonly class Migration2 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('create table compressed_file_hashes (compressed string, uncompressed string, UNIQUE(compressed, uncompressed))'); } public function getVersion(...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration7.php
src/Migration/Migration7.php
<?php namespace App\Migration; use PDO; final readonly class Migration7 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec("alter table game_extras add md5 text"); } public function getVersion(): int { return 7; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration8.php
src/Migration/Migration8.php
<?php namespace App\Migration; use PDO; final readonly class Migration8 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec("alter table downloads add is_patch boolean default false"); } public function getVersion(): int { return 8; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration4.php
src/Migration/Migration4.php
<?php namespace App\Migration; use App\Enum\NamingConvention; use App\Enum\Setting; use PDO; final readonly class Migration4 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('alter table games add column slug text default null'); // delete duplicate settings ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration3.php
src/Migration/Migration3.php
<?php namespace App\Migration; use App\DTO\GameDetail; use PDO; final readonly class Migration3 implements Migration { public function migrate(PDO $pdo): void { $originalRows = $pdo->query('select * from games')->fetchAll(PDO::FETCH_ASSOC); /** @var array<GameDetail> $games */ $games ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Migration/Migration6.php
src/Migration/Migration6.php
<?php namespace App\Migration; use PDO; final readonly class Migration6 implements Migration { public function migrate(PDO $pdo): void { $pdo->exec('create table game_extras ( id integer primary key autoincrement, extra_id integer unique, name text, s...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/SizeUnit.php
src/Enum/SizeUnit.php
<?php namespace App\Enum; enum SizeUnit: string { case Bytes = 'b'; case Kilobytes = 'kb'; case Megabytes = 'mb'; case Gigabytes = 'gb'; case Terabytes = 'tb'; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/S3StorageClass.php
src/Enum/S3StorageClass.php
<?php namespace App\Enum; enum S3StorageClass: string { case Standard = 'STANDARD'; case ReducedRedundancy = 'REDUCED_REDUNDANCY'; case StandardInfrequentAccess = 'STANDARD_IA'; case OneZoneInfrequentAccess = 'ONEZONE_IA'; case IntelligentTiering = 'INTELLIGENT_TIERING'; case Glacier = 'GLACIE...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/MediaType.php
src/Enum/MediaType.php
<?php namespace App\Enum; enum MediaType: int { case Game = 1; case Movie = 2; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/NamingConvention.php
src/Enum/NamingConvention.php
<?php namespace App\Enum; enum NamingConvention: string { case Custom = 'custom'; case GogSlug = 'gog-slug'; case RomManager = 'rom-manager'; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/Language.php
src/Enum/Language.php
<?php namespace App\Enum; enum Language: string { case English = 'en'; case Bulgarian = 'bl'; case Russian = 'ru'; case Arabic = 'ar'; case BrazilianPortuguese = 'br'; case Japanese = 'jp'; case Korean = 'ko'; case French = 'fr'; case Chinese = 'cn'; case Czech = 'cz'; case...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/OperatingSystemNumber.php
src/Enum/OperatingSystemNumber.php
<?php namespace App\Enum; enum OperatingSystemNumber: int { case WindowsXP = 2 ** 0; case WindowsVista = 2 ** 1; case Windows7 = 2 ** 2; case Windows8 = 2 ** 3; case Windows10 = 2 ** 12; case Windows11 = 2 ** 14; case OsX10_6 = 2 ** 4; case OsX10_7 = 2 ** 5; case Ubuntu14 = 2 ** 10...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/Setting.php
src/Enum/Setting.php
<?php namespace App\Enum; use BackedEnum; use UnitEnum; enum Setting: string { case DownloadPath = 'download-path'; case S3StorageClass = 's3-storage-class'; case NamingConvention = 'naming-convention'; /** * @return callable(string): bool */ public function getValidator(): callable ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Enum/OperatingSystem.php
src/Enum/OperatingSystem.php
<?php namespace App\Enum; enum OperatingSystem: string { case Windows = 'windows'; case MacOS = 'mac'; case Linux = 'linux'; public function getAsNumbers(): string { $cases = match ($this) { self::MacOS => [OperatingSystemNumber::OsX10_6, OperatingSystemNumber::OsX10_7], ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DependencyInjection/EventCoordinatorCompilerPass.php
src/DependencyInjection/EventCoordinatorCompilerPass.php
<?php namespace App\DependencyInjection; use Symfony\Component\Console\Application; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; final readonly class EventCoordinatorCompilerP...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DependencyInjection/CommandLocatorCompilerPass.php
src/DependencyInjection/CommandLocatorCompilerPass.php
<?php namespace App\DependencyInjection; use App\Interfaces\SingleCommandInterface; use function call_user_func; use function is_a; use Symfony\Component\Console\Application; use Symfony\Component\Console\Command\Command; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/InvalidValueException.php
src/Exception/InvalidValueException.php
<?php namespace App\Exception; use Exception; final class InvalidValueException extends Exception { }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/UnreadableFileException.php
src/Exception/UnreadableFileException.php
<?php namespace App\Exception; use Exception; final class UnreadableFileException extends Exception { }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/RetryDownloadForUnmatchingHashException.php
src/Exception/RetryDownloadForUnmatchingHashException.php
<?php namespace App\Exception; use RuntimeException; final class RetryDownloadForUnmatchingHashException extends RuntimeException implements RetryAwareException { public function modifyTryNumber(int $tryNumber): int { return $tryNumber - 1; } public function modifyDelay(int $delay): int ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/ExitException.php
src/Exception/ExitException.php
<?php namespace App\Exception; use RuntimeException; use Throwable; final class ExitException extends RuntimeException { public function __construct(string $message = '', int $code = 1, ?Throwable $previous = null) { parent::__construct($message, $code, $previous); } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/RetryAwareException.php
src/Exception/RetryAwareException.php
<?php namespace App\Exception; interface RetryAwareException { public function modifyTryNumber(int $tryNumber): int; public function modifyDelay(int $delay): int; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/ForceRetryException.php
src/Exception/ForceRetryException.php
<?php namespace App\Exception; use RuntimeException; final class ForceRetryException extends RuntimeException implements RetryAwareException { public function modifyTryNumber(int $tryNumber): int { return $tryNumber - 1; } public function modifyDelay(int $delay): int { return 0; ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/TooManyRetriesException.php
src/Exception/TooManyRetriesException.php
<?php namespace App\Exception; use Exception; use Throwable; final class TooManyRetriesException extends Exception { /** * @var array<Throwable> */ public readonly array $exceptions; public function __construct(array $exceptions, string $message = "", int $code = 0, ?Throwable $previous = null...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/InvalidConfigurationException.php
src/Exception/InvalidConfigurationException.php
<?php namespace App\Exception; use RuntimeException; final class InvalidConfigurationException extends RuntimeException { }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/AuthorizationException.php
src/Exception/AuthorizationException.php
<?php namespace App\Exception; use RuntimeException; final class AuthorizationException extends RuntimeException { }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Exception/AuthenticationException.php
src/Exception/AuthenticationException.php
<?php namespace App\Exception; use RuntimeException; final class AuthenticationException extends RuntimeException { }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Trait/TargetDirectoryTrait.php
src/Trait/TargetDirectoryTrait.php
<?php namespace App\Trait; use App\DTO\DownloadableItem; use App\DTO\GameDetail; use App\DTO\PlatformSpecificItem; use App\Enum\NamingConvention; use App\Enum\OperatingSystem; use App\Enum\Setting; use App\Exception\InvalidValueException; use LogicException; use Symfony\Component\Console\Input\InputInterface; trait ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Trait/FilteredGamesResolverTrait.php
src/Trait/FilteredGamesResolverTrait.php
<?php namespace App\Trait; use App\DTO\GameInstaller; use App\DTO\GameDetail; use App\DTO\OwnedItemInfo; use App\DTO\SearchFilter; use App\Enum\Language; use App\Enum\MediaType; use App\Enum\OperatingSystem; use App\Exception\InvalidValueException; use App\Service\OwnedItemsManager; use Rikudou\Iterables\Iterables; u...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Trait/EnumExceptionParserTrait.php
src/Trait/EnumExceptionParserTrait.php
<?php namespace App\Trait; use ValueError; trait EnumExceptionParserTrait { private function getInvalidOption(ValueError $error): ?string { $regex = /** @lang RegExp */ '@^"([^"]+)" is not a valid@'; if (!preg_match($regex, $error->getMessage(), $matches)) { return null; }...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Trait/CommonOptionsTrait.php
src/Trait/CommonOptionsTrait.php
<?php namespace App\Trait; use App\Enum\OperatingSystem; use Symfony\Component\Console\Input\InputOption; trait CommonOptionsTrait { private function addOsFilterOption(): static { $this->addOption( 'os', 'o', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRA...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Trait/MigrationCheckerTrait.php
src/Trait/MigrationCheckerTrait.php
<?php namespace App\Trait; use App\Service\Persistence\PersistenceManager; use Symfony\Component\Console\Output\OutputInterface; trait MigrationCheckerTrait { private function showInfoIfMigrationsAreNeeded(OutputInterface $output, PersistenceManager $persistence): void { if (!$persistence->needsMigra...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Helper/LatelyBoundStringValue.php
src/Helper/LatelyBoundStringValue.php
<?php namespace App\Helper; use Closure; use Stringable; final class LatelyBoundStringValue implements Stringable { private ?string $value = null; /** * @var Closure(): string */ private readonly Closure $callback; /** * @param callable(): string $callback */ public function...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Attribute/SerializedName.php
src/Attribute/SerializedName.php
<?php namespace App\Attribute; use Attribute; #[Attribute(Attribute::TARGET_PROPERTY)] final class SerializedName { public function __construct( public readonly string $name, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Attribute/ArrayType.php
src/Attribute/ArrayType.php
<?php namespace App\Attribute; #[\Attribute(\Attribute::TARGET_PROPERTY)] final class ArrayType { public function __construct( public readonly string $type, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Listener/PreCommandListener.php
src/Listener/PreCommandListener.php
<?php namespace App\Listener; use App\Service\NewVersionChecker; use Symfony\Component\Console\ConsoleEvents; use Symfony\Component\Console\Event\ConsoleCommandEvent; use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\EventDispatcher\EventSubscriberInterface; final readonly class Pre...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/BuildInfoItem.php
src/DTO/BuildInfoItem.php
<?php namespace App\DTO; use DateTimeInterface; final readonly class BuildInfoItem { public string $buildId; public string $productId; public string $os; public ?string $branch; public string $versionName; /** * @var array<string> */ public array $tags; public bool $pu...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/DownloadDescription.php
src/DTO/DownloadDescription.php
<?php use App\DTO\GameInstaller; class_alias(GameInstaller::class, 'App\DTO\DownloadDescription');
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/SaveGameFile.php
src/DTO/SaveGameFile.php
<?php namespace App\DTO; use App\Attribute\SerializedName; use DateTimeImmutable; use DateTimeInterface; final readonly class SaveGameFile { public int $bytes; #[SerializedName('last_modified')] public string $lastModified; public ?string $hash; public string $name; #[SerializedName('cont...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/OAuthCredentials.php
src/DTO/OAuthCredentials.php
<?php namespace App\DTO; final readonly class OAuthCredentials { public function __construct( public string $clientId, public string $clientSecret, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/GameInstaller.php
src/DTO/GameInstaller.php
<?php namespace App\DTO; final class GameInstaller implements DownloadableItem, PlatformSpecificItem { public function __construct( public readonly string $language, public readonly string $platform, public readonly string $name, public readonly float $size, public readonl...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/Authorization.php
src/DTO/Authorization.php
<?php namespace App\DTO; use DateTimeInterface; final class Authorization { public function __construct( public readonly string $token, public readonly string $refreshToken, public readonly DateTimeInterface $validUntil, ) { } public function __toString(): string { ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/MovieInfo.php
src/DTO/MovieInfo.php
<?php namespace App\DTO; use App\Enum\MediaType; final class MovieInfo implements OwnedItemInfo { public readonly int $id; public readonly string $title; public function getId(): int { return $this->id; } public function getTitle(): string { return $this->title; } ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/OwnedItemInfo.php
src/DTO/OwnedItemInfo.php
<?php namespace App\DTO; use App\Enum\MediaType; interface OwnedItemInfo { public function getId(): int; public function getTitle(): string; public function getType(): MediaType; public function hasUpdates(): bool; public function getSlug(): string; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/MultipleValuesWrapper.php
src/DTO/MultipleValuesWrapper.php
<?php namespace App\DTO; use ArrayIterator; use IteratorAggregate; use Traversable; final class MultipleValuesWrapper implements IteratorAggregate { private Traversable $iterator; public function __construct( Traversable|array $iterator, ) { if (is_array($iterator)) { $this->...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/GameDetail.php
src/DTO/GameDetail.php
<?php namespace App\DTO; use App\Attribute\ArrayType; use JetBrains\PhpStorm\Deprecated; final readonly class GameDetail { /** * @param array<GameInstaller> $downloads * @param array<GameExtra> $extras */ public function __construct( public int $id, public string $title, ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/Url.php
src/DTO/Url.php
<?php namespace App\DTO; final class Url { public function __construct( private readonly ?string $scheme = null, private readonly ?string $host = null, private readonly ?string $path = null, private readonly array $query = [], ) { } public function __toString(): string...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/PlatformSpecificItem.php
src/DTO/PlatformSpecificItem.php
<?php namespace App\DTO; interface PlatformSpecificItem extends DownloadableItem { public string $platform { get; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/SaveFileContent.php
src/DTO/SaveFileContent.php
<?php namespace App\DTO; final readonly class SaveFileContent { public function __construct( public string $hash, public string $content, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/DownloadableItem.php
src/DTO/DownloadableItem.php
<?php namespace App\DTO; interface DownloadableItem { public string $name { get; } public string $url { get; } public ?string $md5 { get; } public ?int $gogGameId { get; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/SearchFilter.php
src/DTO/SearchFilter.php
<?php namespace App\DTO; use App\Enum\Language; use App\Enum\OperatingSystem; final class SearchFilter { /** * @param array<Language>|null $languages * @param array<OperatingSystem>|null $operatingSystems */ public function __construct( public readonly ?array $operatingSystems =...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/GameExtra.php
src/DTO/GameExtra.php
<?php namespace App\DTO; final class GameExtra implements DownloadableItem { public function __construct( public readonly int $id, public readonly string $name, public readonly int $size, public readonly string $url, public readonly int $gogGameId, public private(se...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/GameInfo.php
src/DTO/GameInfo.php
<?php namespace App\DTO; use App\Attribute\SerializedName; use App\Enum\MediaType; final class GameInfo implements OwnedItemInfo { public readonly int $id; public readonly string $title; #[SerializedName('updates')] public readonly ?bool $hasUpdates; public readonly bool $isNew; public re...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/Serializer/Property.php
src/DTO/Serializer/Property.php
<?php namespace App\DTO\Serializer; final class Property { public function __construct( public readonly string $name, public readonly string $serializedName, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/FileWriter/StreamWrapperFileReference.php
src/DTO/FileWriter/StreamWrapperFileReference.php
<?php namespace App\DTO\FileWriter; final class StreamWrapperFileReference { /** * @var resource|null */ private $fileHandle = null; public function __construct( public readonly string $path, ) { } public function __destruct() { if (is_resource($this->fileHandle...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/FileWriter/S3FileReference.php
src/DTO/FileWriter/S3FileReference.php
<?php namespace App\DTO\FileWriter; use App\Enum\S3StorageClass; use Aws\S3\S3Client; final class S3FileReference { private const DEFAULT_CHUNK_SIZE = 10 * 1024 * 1024; private int $partNumber = 0; private ?string $openedObjectId = null; private ?S3Client $client = null; /** @var array<array{...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/FileWriter/ExtractedS3Path.php
src/DTO/FileWriter/ExtractedS3Path.php
<?php namespace App\DTO\FileWriter; final readonly class ExtractedS3Path { public function __construct( public string $bucket, public string $key, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/Checksum.php
src/DTO/UserData/Checksum.php
<?php namespace App\DTO\UserData; final readonly class Checksum { public function __construct( public ?string $cart, public ?string $games, public ?string $wishlist, public mixed $reviewsVotes, public mixed $gamesRating, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/Language.php
src/DTO/UserData/Language.php
<?php namespace App\DTO\UserData; final readonly class Language { public function __construct( public string $code, public string $name, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/Currency.php
src/DTO/UserData/Currency.php
<?php namespace App\DTO\UserData; final readonly class Currency { public function __construct( public string $code, public string $symbol, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/UserData.php
src/DTO/UserData/UserData.php
<?php namespace App\DTO\UserData; use SensitiveParameter; final readonly class UserData { /** * @param array<Currency> $currencies */ public function __construct( public string $country, public array $currencies, public Currency $selectedCurrency, public Language $pr...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/WalletBalance.php
src/DTO/UserData/WalletBalance.php
<?php namespace App\DTO\UserData; use SensitiveParameter; final readonly class WalletBalance { public function __construct( public string $currency, #[SensitiveParameter] public int $amount, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/PurchasedItemsCount.php
src/DTO/UserData/PurchasedItemsCount.php
<?php namespace App\DTO\UserData; final readonly class PurchasedItemsCount { public function __construct( public int $games, public int $movies, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/DTO/UserData/UpdatesCount.php
src/DTO/UserData/UpdatesCount.php
<?php namespace App\DTO\UserData; final readonly class UpdatesCount { public function __construct( public int $messages, public int $pendingFriendRequests, public int $unreadChatMessages, public int $products, public int $forum, public int $total, ) { } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Validator/NonEmptyValidator.php
src/Validator/NonEmptyValidator.php
<?php namespace App\Validator; use RuntimeException; final class NonEmptyValidator { public function __invoke(?string $value): string { if ($value === null) { throw new RuntimeException('This value cannot be empty'); } return $value; } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Iterables.php
src/Service/Iterables.php
<?php namespace App\Service; final class Iterables { public function map(iterable $iterable, callable $callback): iterable { foreach ($iterable as $item) { yield $callback($item); } } public function filter(iterable $iterable, callable $callback): iterable { fo...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/WebAuthentication.php
src/Service/WebAuthentication.php
<?php namespace App\Service; use Symfony\Component\BrowserKit\HttpBrowser; use Symfony\Component\HttpFoundation\Request; final class WebAuthentication { public const AUTH_URL = 'https://auth.gog.com/auth?client_id=46899977096215655&redirect_uri=https%3A%2F%2Fembed.gog.com%2Fon_login_success%3Forigin%3Dclient&res...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/GameMetadataManager.php
src/Service/GameMetadataManager.php
<?php namespace App\Service; use App\DTO\Authorization; use App\DTO\BuildInfoItem; use App\DTO\GameDetail; use App\DTO\GameInfo; use App\DTO\OAuthCredentials; use DateInterval; use JsonException; use Psr\Cache\CacheItemPoolInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Contracts\HttpClient\HttpC...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/AuthenticationManager.php
src/Service/AuthenticationManager.php
<?php namespace App\Service; use App\DTO\Authorization; use App\DTO\Url; use App\DTO\UserData\Checksum; use App\DTO\UserData\Currency; use App\DTO\UserData\Language; use App\DTO\UserData\PurchasedItemsCount; use App\DTO\UserData\UpdatesCount; use App\DTO\UserData\UserData; use App\DTO\UserData\WalletBalance; use App\...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/OwnedItemsManager.php
src/Service/OwnedItemsManager.php
<?php namespace App\Service; use App\DTO\DownloadableItem; use App\DTO\GameDetail; use App\DTO\GameInfo; use App\DTO\MovieInfo; use App\DTO\OwnedItemInfo; use App\DTO\SearchFilter; use App\DTO\Url; use App\Enum\Language; use App\Enum\MediaType; use App\Enum\OperatingSystem; use App\Exception\AuthorizationException; u...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/MigrationManager.php
src/Service/MigrationManager.php
<?php namespace App\Service; use App\Migration\Migration; use DateTimeImmutable; use PDO; use PDOException; final class MigrationManager { private bool $applied = false; /** * @param iterable<Migration> $migrations */ public function __construct( private readonly iterable $migrations, ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/NewVersionChecker.php
src/Service/NewVersionChecker.php
<?php namespace App\Service; use Symfony\Component\Console\Application; use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\HttpFoundation\Request; use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterf...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/DownloadManager.php
src/Service/DownloadManager.php
<?php namespace App\Service; use App\DTO\DownloadableItem; use Symfony\Component\HttpClient\Exception\ClientException; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Contracts\HttpClient\HttpClientInterface; use Symfony\Contracts\HttpClient\ResponseStreamInter...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/RetryService.php
src/Service/RetryService.php
<?php namespace App\Service; use App\Exception\RetryAwareException; use App\Exception\TooManyRetriesException; use Exception; use Throwable; final readonly class RetryService { public function __construct( private bool $debug, ) { } /** * @throws TooManyRetriesException * @throws E...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/CloudSavesManager.php
src/Service/CloudSavesManager.php
<?php namespace App\Service; use App\DTO\GameDetail; use App\DTO\GameInfo; use App\DTO\SaveFileContent; use App\DTO\SaveGameFile; use DateInterval; use Psr\Cache\CacheItemPoolInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Contracts\HttpClient\HttpClientInterface; final readonly class CloudSaves...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer.php
src/Service/Serializer.php
<?php namespace App\Service; use App\Attribute\ArrayType; use App\Attribute\SerializedName; use App\DTO\MultipleValuesWrapper; use App\DTO\Serializer\Property; use App\Service\Serializer\SerializerNormalizer; use Error; use JsonException; use ReflectionClass; use ReflectionException; use ReflectionObject; use Reflect...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Persistence/PersistenceManagerSqlite.php
src/Service/Persistence/PersistenceManagerSqlite.php
<?php namespace App\Service\Persistence; use App\DTO\Authorization; use App\DTO\GameDetail; use App\Enum\Setting; use App\Service\MigrationManager; use App\Service\Serializer; use DateTimeImmutable; use JetBrains\PhpStorm\ExpectedValues; use PDO; final class PersistenceManagerSqlite extends AbstractPersistenceManage...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Persistence/PersistenceManagerFiles.php
src/Service/Persistence/PersistenceManagerFiles.php
<?php namespace App\Service\Persistence; use App\DTO\Authorization; use App\DTO\GameDetail; use App\Enum\Setting; use Error; use ReflectionObject; use Stringable; final class PersistenceManagerFiles extends AbstractPersistenceManager { private const AUTH_FILE = 'auth.db'; private const GAME_FILE = 'games.db...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Persistence/PersistenceManager.php
src/Service/Persistence/PersistenceManager.php
<?php namespace App\Service\Persistence; use App\DTO\Authorization; use App\DTO\GameDetail; use App\Enum\Setting; interface PersistenceManager { public function getAuthorization(): ?Authorization; public function saveAuthorization(?Authorization $authorization): self; /** * @param array<GameDetail...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Persistence/AbstractPersistenceManager.php
src/Service/Persistence/AbstractPersistenceManager.php
<?php namespace App\Service\Persistence; abstract class AbstractPersistenceManager implements PersistenceManager { protected function getFullPath(string $file): string { return sprintf('%s/%s', $_ENV['CONFIG_DIRECTORY'] ?? getcwd(), $file); } }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer/GameDetailNormalizer.php
src/Service/Serializer/GameDetailNormalizer.php
<?php namespace App\Service\Serializer; use App\DTO\GameInstaller; use App\DTO\GameDetail; use App\DTO\GameExtra; use App\DTO\MultipleValuesWrapper; use App\Service\Serializer; final readonly class GameDetailNormalizer implements SerializerNormalizer { public function normalize(array $value, array $context, Seri...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer/GameInstallerNormalizer.php
src/Service/Serializer/GameInstallerNormalizer.php
<?php namespace App\Service\Serializer; use App\DTO\GameInstaller; use App\DTO\MultipleValuesWrapper; use App\Service\Serializer; use ReflectionProperty; use RuntimeException; final class GameInstallerNormalizer implements SerializerNormalizer { public function __construct( ) { } public function nor...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer/GameExtraNormalizer.php
src/Service/Serializer/GameExtraNormalizer.php
<?php namespace App\Service\Serializer; use App\DTO\GameExtra; use App\DTO\MultipleValuesWrapper; use App\Service\OwnedItemsManager; use App\Service\Serializer; use ReflectionProperty; use Symfony\Component\HttpClient\Exception\ClientException; use Symfony\Component\HttpFoundation\Response; final readonly class Game...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer/MultipleValuesNormalizer.php
src/Service/Serializer/MultipleValuesNormalizer.php
<?php namespace App\Service\Serializer; use App\DTO\MultipleValuesWrapper; use App\Service\Serializer; interface MultipleValuesNormalizer extends SerializerNormalizer { public function normalize(array $value, array $context, Serializer $serializer): MultipleValuesWrapper; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Serializer/SerializerNormalizer.php
src/Service/Serializer/SerializerNormalizer.php
<?php namespace App\Service\Serializer; use App\Service\Serializer; interface SerializerNormalizer { public function normalize(array $value, array $context, Serializer $serializer): mixed; /** * @param class-string<object> $class */ public function supports(string $class): bool; }
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/FileWriter/FileWriterLocator.php
src/Service/FileWriter/FileWriterLocator.php
<?php namespace App\Service\FileWriter; use RuntimeException; final readonly class FileWriterLocator { /** * @param iterable<FileWriter> $writers */ public function __construct( private iterable $writers, ) { } public function getWriter(string $directory): FileWriter { ...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/FileWriter/StreamWrapperFileWriter.php
src/Service/FileWriter/StreamWrapperFileWriter.php
<?php namespace App\Service\FileWriter; use App\DTO\FileWriter\StreamWrapperFileReference; use App\Exception\UnreadableFileException; use HashContext; use Symfony\Component\DependencyInjection\Attribute\AsTaggedItem; /** * @implements FileWriter<StreamWrapperFileReference> */ #[AsTaggedItem(priority: -10)] final r...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/FileWriter/FileWriter.php
src/Service/FileWriter/FileWriter.php
<?php namespace App\Service\FileWriter; use App\Exception\UnreadableFileException; use HashContext; use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag; /** * @template T of object */ #[AutoconfigureTag(name: 'app.file_writer')] interface FileWriter { public const DEFAULT_CHUNK_SIZE = 2 ** 23;...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/FileWriter/S3FileWriter.php
src/Service/FileWriter/S3FileWriter.php
<?php namespace App\Service\FileWriter; use App\DTO\FileWriter\ExtractedS3Path; use App\DTO\FileWriter\S3FileReference; use App\Enum\S3StorageClass; use App\Enum\Setting; use App\Exception\InvalidConfigurationException; use App\Exception\UnreadableFileException; use App\Service\Persistence\PersistenceManager; use Aws...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Service/Factory/PersistenceManagerFactory.php
src/Service/Factory/PersistenceManagerFactory.php
<?php namespace App\Service\Factory; use App\Service\MigrationManager; use App\Service\Persistence\PersistenceManager; use App\Service\Persistence\PersistenceManagerFiles; use App\Service\Persistence\PersistenceManagerSqlite; use App\Service\Serializer; use PDO; use SQLite3; final readonly class PersistenceManagerFa...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/LoginCommand.php
src/Command/LoginCommand.php
<?php namespace App\Command; use App\Service\AuthenticationManager; use App\Service\Persistence\PersistenceManager; use App\Service\WebAuthentication; use App\Trait\MigrationCheckerTrait; use App\Validator\NonEmptyValidator; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Comm...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/LanguagesCommand.php
src/Command/LanguagesCommand.php
<?php namespace App\Command; use App\Enum\Language; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; #[AsCommand...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/ConfigCommand.php
src/Command/ConfigCommand.php
<?php namespace App\Command; use App\Enum\Setting; use App\Service\Persistence\PersistenceManager; use App\Trait\MigrationCheckerTrait; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Inp...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/LoginCodeCommand.php
src/Command/LoginCodeCommand.php
<?php namespace App\Command; use App\Exception\AuthenticationException; use App\Service\AuthenticationManager; use App\Service\Persistence\PersistenceManager; use App\Service\WebAuthentication; use App\Trait\MigrationCheckerTrait; use App\Validator\NonEmptyValidator; use Symfony\Component\Console\Attribute\AsCommand;...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/DownloadCommand.php
src/Command/DownloadCommand.php
<?php namespace App\Command; use App\DTO\GameInstaller; use App\DTO\GameExtra; use App\Enum\Language; use App\Enum\NamingConvention; use App\Enum\Setting; use App\Exception\ExitException; use App\Exception\ForceRetryException; use App\Exception\InvalidValueException; use App\Exception\RetryDownloadForUnmatchingHashEx...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/MigrateNamingSchemeCommand.php
src/Command/MigrateNamingSchemeCommand.php
<?php namespace App\Command; use App\Enum\NamingConvention; use App\Enum\Setting; use App\Service\OwnedItemsManager; use App\Service\Persistence\PersistenceManager; use App\Trait\MigrationCheckerTrait; use App\Trait\TargetDirectoryTrait; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false
RikudouSage/GogDownloader
https://github.com/RikudouSage/GogDownloader/blob/51828fd0d673e8f167e9baaf8636718b27a66950/src/Command/TotalSizeCommand.php
src/Command/TotalSizeCommand.php
<?php namespace App\Command; use App\Enum\SizeUnit; use App\Service\DownloadManager; use App\Service\OwnedItemsManager; use App\Service\Persistence\PersistenceManager; use App\Trait\CommonOptionsTrait; use App\Trait\FilteredGamesResolverTrait; use App\Trait\MigrationCheckerTrait; use Symfony\Component\Console\Attribu...
php
MIT
51828fd0d673e8f167e9baaf8636718b27a66950
2026-01-05T05:23:42.986854Z
false