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
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/UI/Http/CommandMappers/MoveCharacterCommandMapper.php
app/Modules/Character/UI/Http/CommandMappers/MoveCharacterCommandMapper.php
<?php namespace App\Modules\Character\UI\Http\CommandMappers; use App\Modules\Character\Application\Commands\MoveCharacterCommand; use App\Modules\Character\Domain\CharacterId; class MoveCharacterCommandMapper { public function map(string $characterId, string $locationId): MoveCharacterCommand { ret...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/UI/Http/CommandMappers/CreateCharacterCommandMapper.php
app/Modules/Character/UI/Http/CommandMappers/CreateCharacterCommandMapper.php
<?php namespace App\Modules\Character\UI\Http\CommandMappers; use App\Modules\Character\Application\Commands\CreateCharacterCommand; use App\Modules\Character\Domain\CharacterType; use Illuminate\Http\Request; use App\Models\User as UserModel; class CreateCharacterCommandMapper { public function map(Request $re...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/UI/Http/CommandMappers/AttackCharacterCommandMapper.php
app/Modules/Character/UI/Http/CommandMappers/AttackCharacterCommandMapper.php
<?php namespace App\Modules\Character\UI\Http\CommandMappers; use App\Modules\Character\Application\Commands\AttackCharacterCommand; use App\Modules\Character\Domain\CharacterId; use App\Models\User as UserModel; use Illuminate\Http\Request; class AttackCharacterCommandMapper { public function map(Request $requ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Character.php
app/Modules/Character/Domain/Character.php
<?php namespace App\Modules\Character\Domain; use App\Modules\Equipment\Domain\Inventory; use App\Modules\Equipment\Domain\Item; use App\Modules\Equipment\Domain\ItemEffect; use App\Modules\Equipment\Domain\Money; use App\Modules\Image\Domain\ImageId; use App\Traits\ThrowsDice; class Character { use ThrowsDice;...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Name.php
app/Modules/Character/Domain/Name.php
<?php namespace App\Modules\Character\Domain; class Name { /** * @var string */ private $value; public function __construct(string $value) { $this->value = $value; } public function getValue(): string { return $this->value; } public function equals(Na...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Gender.php
app/Modules/Character/Domain/Gender.php
<?php namespace App\Modules\Character\Domain; class Gender { /** * @var string */ private $value; public function __construct(string $value) { $this->value = $value; } public function getValue(): string { return $this->value; } }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/HitPoints.php
app/Modules/Character/Domain/HitPoints.php
<?php namespace App\Modules\Character\Domain; use App\Traits\ThrowsDice; class HitPoints { use ThrowsDice; /** * @var int */ private $currentHitPoints; /** * @var int */ private $maximumHitPoints; public static function byRace(Race $race): HitPoints { $max...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Attributes.php
app/Modules/Character/Domain/Attributes.php
<?php namespace App\Modules\Character\Domain; use Illuminate\Support\Collection; class Attributes { /** * @var Collection */ private $collection; public function __construct($items = []) { $this->collection = new Collection($items); } public function addAvailablePoints(i...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Race.php
app/Modules/Character/Domain/Race.php
<?php namespace App\Modules\Character\Domain; class Race { /** * @var int */ private $id; /** * @var string */ private $startingLocationId; /** * @var string */ private $name; /** * @var string */ private $description; /** * @var string...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/CharacterType.php
app/Modules/Character/Domain/CharacterType.php
<?php namespace App\Modules\Character\Domain; use InvalidArgumentException; class CharacterType { public const PLAYER = 'player'; public const MERCHANT = 'merchant'; public const CIVILIAN = 'civilian'; public const MONSTER = 'monster'; public const TYPES = [ self::PLAYER, self::...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/LocationId.php
app/Modules/Character/Domain/LocationId.php
<?php declare(strict_types=1); namespace App\Modules\Character\Domain; use App\Modules\Generic\Domain\BaseId; class LocationId extends BaseId { }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/CharacterId.php
app/Modules/Character/Domain/CharacterId.php
<?php declare(strict_types=1); namespace App\Modules\Character\Domain; use App\Modules\Generic\Domain\BaseId; class CharacterId extends BaseId { }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Statistics.php
app/Modules/Character/Domain/Statistics.php
<?php namespace App\Modules\Character\Domain; use Illuminate\Support\Collection; class Statistics { private $statistics; public function __construct($statistics = []) { $this->statistics = new Collection($statistics); } public function withIncreaseWonBattles(): Statistics { ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Domain/Reputation.php
app/Modules/Character/Domain/Reputation.php
<?php namespace App\Modules\Character\Domain; class Reputation { /** * @var int */ private $value; public function __construct(int $value) { $this->value = $value; } public function getValue(): int { return $this->value; } }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Infrastructure/Repositories/LocationRepository.php
app/Modules/Character/Infrastructure/Repositories/LocationRepository.php
<?php namespace App\Modules\Character\Infrastructure\Repositories; use App\Modules\Character\Application\Contracts\LocationRepositoryInterface; use App\Modules\Character\Domain\LocationId; use App\Traits\GeneratesUuid; use Exception; class LocationRepository implements LocationRepositoryInterface { use Generates...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Infrastructure/Repositories/RaceRepository.php
app/Modules/Character/Infrastructure/Repositories/RaceRepository.php
<?php namespace App\Modules\Character\Infrastructure\Repositories; use App\Modules\Character\Application\Contracts\RaceRepositoryInterface; use App\Modules\Character\Domain\Attributes; use App\Modules\Character\Domain\Race; use App\Models\Race as RaceModel; class RaceRepository implements RaceRepositoryInterface { ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Infrastructure/Repositories/CharacterRepository.php
app/Modules/Character/Infrastructure/Repositories/CharacterRepository.php
<?php namespace App\Modules\Character\Infrastructure\Repositories; use App\Modules\Character\Application\Contracts\CharacterRepositoryInterface; use App\Modules\Character\Domain\Character; use App\Models\Character as CharacterModel; use App\Modules\Character\Domain\CharacterId; use App\Modules\Character\Infrastructur...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Character/Infrastructure/ReconstitutionFactories/CharacterReconstitutionFactory.php
app/Modules/Character/Infrastructure/ReconstitutionFactories/CharacterReconstitutionFactory.php
<?php namespace App\Modules\Character\Infrastructure\ReconstitutionFactories; use App\Modules\Character\Domain\CharacterId; use App\Modules\Character\Domain\CharacterType; use App\Modules\Equipment\Infrastructure\ReconstitutionFactories\InventoryReconstitutionFactory; use App\Modules\Character\Domain\Attributes; use...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Level/Application/Services/LevelService.php
app/Modules/Level/Application/Services/LevelService.php
<?php namespace App\Modules\Level\Application\Services; use App\Modules\Level\Domain\Level; class LevelService { public function getLevelByXp(int $xp): Level { $levelId = 1; while ($this->getLevelThreshold($levelId) < $xp) { $levelId++; } return $this->getLevel(...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Level/Domain/Level.php
app/Modules/Level/Domain/Level.php
<?php namespace App\Modules\Level\Domain; class Level { /** * @var int */ private $id; /** * @var int */ private $currentLevelThreshold; /** * @var int */ private $nextLevelThreshold; public function __construct(int $id, int $currentLevelThreshHold, int $ne...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Application/Services/ProfilePictureService.php
app/Modules/Image/Application/Services/ProfilePictureService.php
<?php namespace App\Modules\Image\Application\Services; use App\Modules\Character\Application\Services\CharacterService; use App\Modules\Character\Domain\CharacterId; use App\Modules\Image\Application\Contracts\ImageRepositoryInterface; use App\Modules\Image\Application\Factories\ImageFactory; use App\Modules\Image\...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Application/Contracts/ImageRepositoryInterface.php
app/Modules/Image/Application/Contracts/ImageRepositoryInterface.php
<?php namespace App\Modules\Image\Application\Contracts; use App\Modules\Character\Domain\CharacterId; use App\Modules\Image\Domain\Image; use App\Modules\Image\Domain\ImageId; use Illuminate\Http\UploadedFile; interface ImageRepositoryInterface { public function nextIdentity(): ImageId; public function a...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Application/Factories/ImageFactory.php
app/Modules/Image/Application/Factories/ImageFactory.php
<?php namespace App\Modules\Image\Application\Factories; use App\Modules\Character\Domain\CharacterId; use App\Modules\Image\Domain\ImageFile; use App\Modules\Image\Domain\Image; use App\Modules\Image\Domain\ImageId; class ImageFactory { public function create(ImageId $imageId, CharacterId $characterId, string...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Application/Commands/AddImageCommand.php
app/Modules/Image/Application/Commands/AddImageCommand.php
<?php namespace App\Modules\Image\Application\Commands; use App\Modules\Character\Domain\CharacterId; use Illuminate\Http\UploadedFile; class AddImageCommand { /** * @var CharacterId */ private $characterId; /** * @var UploadedFile */ private $uploadedFile; public function ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/UI/Http/CommandMappers/AddImageCommandMapper.php
app/Modules/Image/UI/Http/CommandMappers/AddImageCommandMapper.php
<?php namespace App\Modules\Image\UI\Http\CommandMappers; use App\Modules\Character\Domain\CharacterId; use App\Modules\Image\Application\Commands\AddImageCommand; use Illuminate\Http\UploadedFile; class AddImageCommandMapper { public function map(string $characterId, UploadedFile $uploadedFile): AddImageComman...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Domain/Image.php
app/Modules/Image/Domain/Image.php
<?php namespace App\Modules\Image\Domain; use App\Modules\Character\Domain\CharacterId; class Image { /** * @var ImageId */ private $id; /** * @var CharacterId */ private $characterId; /** * @var ImageFile */ private $fullSizeFile; /** * @var ImageFile ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Domain/ImageFile.php
app/Modules/Image/Domain/ImageFile.php
<?php namespace App\Modules\Image\Domain; class ImageFile { public const IMAGE_WIDTH_FULL = 1000; public const IMAGE_WIDTH_SMALL = 100; public const IMAGE_WIDTH_ICON = 20; /** * @var string */ private $fileName; /** * @var int */ private $width; private function ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Domain/ImageId.php
app/Modules/Image/Domain/ImageId.php
<?php declare(strict_types=1); namespace App\Modules\Image\Domain; use App\Modules\Generic\Domain\BaseId; class ImageId extends BaseId { }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Modules/Image/Infrastructure/Repositories/ImageRepository.php
app/Modules/Image/Infrastructure/Repositories/ImageRepository.php
<?php namespace App\Modules\Image\Infrastructure\Repositories; use App\Modules\Character\Domain\CharacterId; use App\Modules\Image\Domain\ImageFile; use App\Modules\Image\Domain\Image; use App\Models\Image as ImageModel; use App\Modules\Image\Application\Contracts\ImageRepositoryInterface; use App\Modules\Image\Domai...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Console/Kernel.php
app/Console/Kernel.php
<?php namespace App\Console; use App\Models\Character; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Character.php
app/Models/Character.php
<?php namespace App\Models; use App\Modules\Character\Domain\CharacterType; use App\Modules\Equipment\Domain\ItemStatus; use App\Modules\Equipment\Domain\ItemType; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquen...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/User.php
app/Models/User.php
<?php namespace App\Models; use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\HasOne; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Cache; /** * @property Character character * @propert...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Image.php
app/Models/Image.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; /** * @property string file_path_full * @property string file_path_small * @property string file_path_icon * @property string id * @property string character_id */ class Image extends Model { use UsesStringId; ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/BattleRound.php
app/Models/BattleRound.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; class BattleRound extends Model { use UsesStringId; protected $guarded = []; /** * @return HasMany */ public function turns() { ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/ItemPrototype.php
app/Models/ItemPrototype.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; /** * @property string id * @property string name * @property string $description * @property string image_file_path * @property string type * @property array effects * @property int price */ class ItemPrototype ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Race.php
app/Models/Race.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * @property string name * @property string description * @property string male_image * @property string female_image */ class Race extends Model { const ATTRIBUTE_STRENGTH = 'strength'; const ATTRIBUTE_AGILITY = 'agility'; const...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Store.php
app/Models/Store.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; /** * @property Character character * @property Collection it...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Location.php
app/Models/Location.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Carbon\Carbon; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; /** * @property string id * @property string...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Battle.php
app/Models/Battle.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; /** * @property Collection rounds * @property Character attacker *...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Item.php
app/Models/Item.php
<?php namespace App\Models; use App\Modules\Equipment\Domain\ItemStatus; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; /** * @property string id * @property string name * @propert...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/BattleTurn.php
app/Models/BattleTurn.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class BattleTurn extends Model { use UsesStringId; protected $guarded = []; /** * @return BelongsTo */ public function executor() { ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Message.php
app/Models/Message.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Support\Str; /** * @property string state * @property string from_id * @property string to_id * @property string content * @property string id */...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Models/Inventory.php
app/Models/Inventory.php
<?php namespace App\Models; use App\Traits\UsesStringId; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; /** * @property Character character * @property Collection it...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/ViewComposerServiceProvider.php
app/Providers/ViewComposerServiceProvider.php
<?php namespace App\Providers; use App\Http\ViewComposers\BattlesComposer; use App\Http\ViewComposers\CharacterGeneralInfoComposer; use App\Http\ViewComposers\CharacterMessagesComposer; use App\Http\ViewComposers\MessagesComposer; use Illuminate\Support\Facades\View; use Illuminate\Support\ServiceProvider; class Vie...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/BroadcastServiceProvider.php
app/Providers/BroadcastServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Broadcast; class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Broadcast::routes();...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/RouteServiceProvider.php
app/Providers/RouteServiceProvider.php
<?php namespace App\Providers; use Illuminate\Cache\RateLimiting\Limit; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvide...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/EventServiceProvider.php
app/Providers/EventServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServiceProvider extends ServiceProvider { /** * The event listener mappings for the application. * * @var array */ protected...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use App\Modules\Battle\Application\Contracts\BattleRepositoryInterface; use App\Modules\Battle\Infrastructure\Repositories\BattleRepository; use App\Modules\Character\Application\Contracts\CharacterRepositoryInterface; use App\Modules\Character\Application\Contracts\LocationRepositoryIn...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/app/Providers/AuthServiceProvider.php
app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies = [ //'App\Models\Model' => '...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/bootstrap/app.php
bootstrap/app.php
<?php /* |-------------------------------------------------------------------------- | Create The Application |-------------------------------------------------------------------------- | | The first thing we will do is create a new Laravel application instance | which serves as the "glue" for all the components of La...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/TestCase.php
tests/TestCase.php
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/CreatesApplication.php
tests/CreatesApplication.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/DuskTestCase.php
tests/DuskTestCase.php
<?php namespace Tests; use Laravel\Dusk\TestCase as BaseTestCase; use Facebook\WebDriver\Chrome\ChromeOptions; use Facebook\WebDriver\Remote\RemoteWebDriver; use Facebook\WebDriver\Remote\DesiredCapabilities; abstract class DuskTestCase extends BaseTestCase { use CreatesApplication; /** * Prepare for D...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Browser/ExampleTest.php
tests/Browser/ExampleTest.php
<?php namespace Tests\Browser; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use Throwable; class ExampleTest extends DuskTestCase { /** * A basic browser test example. * * @return void * * @throws Throwable */ public function testBasicExample() { $this->browse(f...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Browser/Pages/Page.php
tests/Browser/Pages/Page.php
<?php namespace Tests\Browser\Pages; use Laravel\Dusk\Page as BasePage; abstract class Page extends BasePage { /** * Get the global element shortcuts for the site. * * @return array */ public static function siteElements() { return [ '@element' => '#selector', ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Browser/Pages/HomePage.php
tests/Browser/Pages/HomePage.php
<?php namespace Tests\Browser\Pages; use Laravel\Dusk\Browser; class HomePage extends Page { /** * Get the URL for the page. * * @return string */ public function url() { return '/'; } /** * Assert that the browser is on the page. * * @param Browser $...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Feature/CharacterCreationTest.php
tests/Feature/CharacterCreationTest.php
<?php namespace Tests\Feature; use App\Models\Character; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Feature/ExampleTest.php
tests/Feature/ExampleTest.php
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function test_example() { $response = $this->get('/'); $response->assertSt...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Feature/AttackTest.php
tests/Feature/AttackTest.php
<?php namespace Tests\Feature; use App\Models\Battle; use App\Models\Character; use App\Models\User; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class AttackTest extends TestCase { use RefreshDatabase; /** * @test */ public function strong_own_character_wins_while_at...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Unit/ExampleTest.php
tests/Unit/ExampleTest.php
<?php namespace Tests\Unit; use Tests\TestCase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function test_example() { self::assertTrue(true); } }
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Unit/app/Modules/Equipment/Application/Services/ItemServiceTest.php
tests/Unit/app/Modules/Equipment/Application/Services/ItemServiceTest.php
<?php namespace Tests\Unit\App\Modules\Equipment\Application\Services; use App\Modules\Character\Application\Contracts\CharacterRepositoryInterface; use App\Modules\Character\Domain\Character; use App\Modules\Character\Domain\CharacterId; use App\Modules\Equipment\Application\Commands\CreateItemCommand; use App\Modul...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Unit/app/Modules/Equipment/Domain/InventoryTest.php
tests/Unit/app/Modules/Equipment/Domain/InventoryTest.php
<?php declare(strict_types=1); namespace Tests\Unit\app\Modules\Equipment\Domain; use App\Modules\Character\Domain\CharacterId; use App\Modules\Equipment\Domain\Inventory; use App\Modules\Equipment\Domain\InventoryId; use App\Modules\Equipment\Domain\InventoryItem; use App\Modules\Equipment\Domain\Item; use App\Modu...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Unit/app/Modules/Level/Application/Services/LevelServiceTest.php
tests/Unit/app/Modules/Level/Application/Services/LevelServiceTest.php
<?php namespace Tests\Unit\App\Modules\Level\Application\Services; use App\Modules\Level\Domain\Level; use App\Modules\Level\Application\Services\LevelService; use Tests\TestCase; class LevelServiceTest extends TestCase { /** @var LevelService */ private $levelService; protected function setUp():void ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/tests/Unit/app/Modules/Level/Domain/Entities/LevelTest.php
tests/Unit/app/Modules/Level/Domain/Entities/LevelTest.php
<?php namespace Tests\Unit\App\Modules\Level\Domain\Entities; use App\Modules\Level\Domain\Level; use Tests\TestCase; class LevelTest extends TestCase { public function testGetProgress() { $level = new Level(1, 50, 100); $progress = $level->getProgress(75); $this->assertEquals(50, ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/routes/web.php
routes/web.php
<?php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use TCG\Voyager\Facades\Voyager; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register w...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/routes/channels.php
routes/channels.php
<?php use Illuminate\Support\Facades\Broadcast; /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application suppo...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/routes/api.php
routes/api.php
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/routes/console.php
routes/console.php
<?php use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Artisan; /* |-------------------------------------------------------------------------- | Console Routes |-------------------------------------------------------------------------- | | This file is where you may define all of your Closure based...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/public/index.php
public/index.php
<?php use Illuminate\Contracts\Http\Kernel; use Illuminate\Http\Request; define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Check If The Application Is Under Maintenance |--------------------------------------------------------------------------...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/voyager.php
config/voyager.php
<?php return [ /* |-------------------------------------------------------------------------- | User config |-------------------------------------------------------------------------- | | Here you can specify voyager user configs | */ 'user' => [ 'add_default_role_on_regist...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/app.php
config/app.php
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/image.php
config/image.php
<?php return [ /* |-------------------------------------------------------------------------- | Image Driver |-------------------------------------------------------------------------- | | Intervention Image supports "GD Library" and "Imagick" to process images | internally. You may choose...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/logging.php
config/logging.php
<?php use Monolog\Handler\NullHandler; use Monolog\Handler\StreamHandler; use Monolog\Handler\SyslogUdpHandler; return [ /* |-------------------------------------------------------------------------- | Default Log Channel |-------------------------------------------------------------------------- ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/hooks.php
config/hooks.php
<?php return [ 'enabled' => env('HOOKS_ENABLED', true), ];
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/session.php
config/session.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Session Driver |-------------------------------------------------------------------------- | | This option controls the default session "driver" that will be use...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/queue.php
config/queue.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Queue Connection Name |-------------------------------------------------------------------------- | | Laravel's queue API supports an assortment of back-ends via a single | API, giving y...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/cache.php
config/cache.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Cache Store |-------------------------------------------------------------------------- | | This option controls the default cache connection that gets used whil...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/hashing.php
config/hashing.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Hash Driver |-------------------------------------------------------------------------- | | This option controls the default hash driver that will be used to hash | passwords for your ap...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/view.php
config/view.php
<?php return [ /* |-------------------------------------------------------------------------- | View Storage Paths |-------------------------------------------------------------------------- | | Most templating systems load templates from disk. Here you may specify | an array of paths that...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/database.php
config/database.php
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/services.php
config/services.php
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/filesystems.php
config/filesystems.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Filesystem Disk |-------------------------------------------------------------------------- | | Here you may specify the default filesystem disk that should be used | by the framework. T...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/mail.php
config/mail.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Mailer |-------------------------------------------------------------------------- | | This option controls the default mailer that is used to send any email | messages sent by your appl...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/cors.php
config/cors.php
<?php return [ /* |-------------------------------------------------------------------------- | Cross-Origin Resource Sharing (CORS) Configuration |-------------------------------------------------------------------------- | | Here you may configure your settings for cross-origin resource shar...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/voyager-hooks.php
config/voyager-hooks.php
<?php return [ 'enabled' => env('HOOKS_ENABLED', true), 'add-route' => true, 'add-hook-menu-item' => true, 'add-hook-permissions' => true, 'publish-vendor-files' => true, ];
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/broadcasting.php
config/broadcasting.php
<?php return [ /* |-------------------------------------------------------------------------- | Default Broadcaster |-------------------------------------------------------------------------- | | This option controls the default broadcaster that will be used by the | framework when an even...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/config/auth.php
config/auth.php
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/factories/UserFactory.php
database/factories/UserFactory.php
<?php namespace Database\Factories; use App\Models\Character; use App\Models\Inventory; use App\Models\Item; use App\Models\ItemPrototype; use App\Models\Location; use App\Modules\Character\Application\Contracts\CharacterRepositoryInterface; use App\Modules\Character\Domain\CharacterType; use App\Modules\Character\Do...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2020_02_29_205331_create_inventories.php
database/migrations/2020_02_29_205331_create_inventories.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInventories extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('inventories', fu...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2020_03_30_133100_create_stores.php
database/migrations/2020_03_30_133100_create_stores.php
<?php use App\Modules\Trade\Domain\StoreType; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStores extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2017_05_14_055823_create_races_table.php
database/migrations/2017_05_14_055823_create_races_table.php
<?php use App\Models\Location; use App\Models\Race; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRacesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2017_05_14_055844_create_characters_table.php
database/migrations/2017_05_14_055844_create_characters_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCharactersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('characters',...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2014_10_12_000000_create_users_table.php
database/migrations/2014_10_12_000000_create_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2017_11_26_013050_add_user_role_relationship.php
database/migrations/2017_11_26_013050_add_user_role_relationship.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\DB; class AddUserRoleRelationship extends Migration { /** * Run the migrations. * * @return void */ public function up() {...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2014_10_12_100000_create_password_resets_table.php
database/migrations/2014_10_12_100000_create_password_resets_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePasswordResetsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('password...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2020_02_29_205957_create_inventory_item.php
database/migrations/2020_02_29_205957_create_inventory_item.php
<?php use App\Modules\Equipment\Domain\ItemStatus; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateInventoryItem extends Migration { /** * Run the migrations. * * @return void */ public function up()...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2018_06_24_132346_create_messages_table.php
database/migrations/2018_06_24_132346_create_messages_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMessagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('messages', fun...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2019_08_19_000000_create_failed_jobs_table.php
database/migrations/2019_08_19_000000_create_failed_jobs_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateFailedJobsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('failed_jobs'...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2017_05_16_144929_create_battles_table.php
database/migrations/2017_05_16_144929_create_battles_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateBattlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('battles', funct...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false
mchekin/rpg
https://github.com/mchekin/rpg/blob/5e4b129f4c9a132e5f4841029dfb18436bb393b3/database/migrations/2020_03_30_133448_create_store_item.php
database/migrations/2020_03_30_133448_create_store_item.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateStoreItem extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('store_item', stati...
php
MIT
5e4b129f4c9a132e5f4841029dfb18436bb393b3
2026-01-05T02:14:36.098984Z
false