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
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Formatters/CustomFormatterNotImplementingInterface.php
tests/App/Formatters/CustomFormatterNotImplementingInterface.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Formatters; use GDebrauwer\Hateoas\LinkCollection; class CustomFormatterNotImplementingInterface { public function format(LinkCollection $links) : array { return []; } }
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasWithConstructorDependencyInjection.php
tests/App/Hateoas/MessageHateoasWithConstructorDependencyInjection.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; use Illuminate\Cache\CacheManager; class MessageHateoasWithConstructorDependencyInjection { use CreatesLinks; protected CacheManager...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasWithSpecificNamedLink.php
tests/App/Hateoas/MessageHateoasWithSpecificNamedLink.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasWithSpecificNamedLink { use CreatesLinks; /** * Get the HATEOAS link to view the message. * * @param \App\Message $message ...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasWithExtraParameters.php
tests/App/Hateoas/MessageHateoasWithExtraParameters.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasWithExtraParameters { use CreatesLinks; public function self(Message $message, int $number, string $text) : ?Lin...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasWithNonSnakeCaseMethods.php
tests/App/Hateoas/MessageHateoasWithNonSnakeCaseMethods.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasWithNonSnakeCaseMethods { use CreatesLinks; public function self(Message $message) : ?Link { return ...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoas.php
tests/App/Hateoas/MessageHateoas.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoas { use CreatesLinks; public function self(Message $message) : ?Link { return $this->link('message.sh...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasReturningNotAllLinks.php
tests/App/Hateoas/MessageHateoasReturningNotAllLinks.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasReturningNotAllLinks { use CreatesLinks; public function self(Message $message) : ?Link { return $th...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasThatResultsInALinkException.php
tests/App/Hateoas/MessageHateoasThatResultsInALinkException.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasThatResultsInALinkException { use CreatesLinks; public function self(Message $message) : ?Link { ret...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasReturningNonLinks.php
tests/App/Hateoas/MessageHateoasReturningNonLinks.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasReturningNonLinks { use CreatesLinks; public function self(Message $message) : ?Link { return $this-...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/MessageHateoasReturningNoLinks.php
tests/App/Hateoas/MessageHateoasReturningNoLinks.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; class MessageHateoasReturningNoLinks { public function self(Message $message) : ?Link { return null; } public function reply(Message $message) : ?Link { ...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Hateoas/CustomGuess/CustomGuessMessageHateoas.php
tests/App/Hateoas/CustomGuess/CustomGuessMessageHateoas.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas\CustomGuess; use GDebrauwer\Hateoas\Link; use GDebrauwer\Hateoas\Tests\App\Models\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class CustomGuessMessageHateoas { use CreatesLinks; public function self(Message $message) : ?Link { return ...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Models/Message.php
tests/App/Models/Message.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Models; use Illuminate\Database\Eloquent\Model; class Message extends Model { protected $guarded = []; }
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
gdebrauwer/laravel-hateoas
https://github.com/gdebrauwer/laravel-hateoas/blob/f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22/tests/App/Providers/RouteServiceProvider.php
tests/App/Providers/RouteServiceProvider.php
<?php namespace GDebrauwer\Hateoas\Tests\App\Providers; use GDebrauwer\Hateoas\Tests\App\Models\Message; use Illuminate\Support\Facades\Route; use Illuminate\Support\ServiceProvider; class RouteServiceProvider extends ServiceProvider { public function boot() { Route::post('message', function () { ...
php
MIT
f0a51a04c25a3631ef8b0dd689da0f49f9c2ae22
2026-01-05T03:54:35.777186Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/src/SteamInfo.php
src/SteamInfo.php
<?php namespace Invisnik\LaravelSteamAuth; use Illuminate\Support\Fluent; class SteamInfo extends Fluent { /** * {@inheritdoc} */ public function __construct($data) { $steamID = $data['steamid'] ?? null; unset($data['steamid']); parent::__construct($data); $thi...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/src/SteamServiceProvider.php
src/SteamServiceProvider.php
<?php namespace Invisnik\LaravelSteamAuth; use Illuminate\Support\ServiceProvider; class SteamServiceProvider extends ServiceProvider { /** * Bootstrap the application events. * * @return void */ public function boot(): void { $this->registerPublishableResources(); } ...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/src/SteamAuth.php
src/SteamAuth.php
<?php namespace Invisnik\LaravelSteamAuth; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\RequestOptions; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Config; use Illuminate\Support\Fluent; use RuntimeException; cla...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/src/SteamAuthInterface.php
src/SteamAuthInterface.php
<?php namespace Invisnik\LaravelSteamAuth; interface SteamAuthInterface { public function redirect(); public function validate(); public function getAuthUrl(); public function getSteamId(); public function getUserInfo(); }
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/tests/TestCase.php
tests/TestCase.php
<?php namespace Invisnik\LaravelSteamAuth\Tests; use Illuminate\Support\Arr; use InvalidArgumentException; use PHPUnit\Framework\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { /** * Get data for tests. * * @param string $steamId * * @return mixed */ pro...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/tests/Unit/SteamInfoTest.php
tests/Unit/SteamInfoTest.php
<?php namespace Invisnik\LaravelSteamAuth\Tests\Unit; use Invisnik\LaravelSteamAuth\SteamInfo; use Invisnik\LaravelSteamAuth\Tests\TestCase; class SteamInfoTest extends TestCase { public function testConstruct() { $data = $this->getSteamInfoData(); $steamInfo = new SteamInfo($data); ...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
invisnik/laravel-steam-auth
https://github.com/invisnik/laravel-steam-auth/blob/94a0ef489932615612ddb745b3be3ff679afa209/config/steam-auth.php
config/steam-auth.php
<?php return [ /* * Redirect URL after login */ 'redirect_url' => '/', /* * Realm override. Bypass domain ban by Valve. * Use alternative domain with redirection to main for authentication (banned by valve). */ //'realm' => 'redirected.com', /* * API Key (set in .en...
php
MIT
94a0ef489932615612ddb745b3be3ff679afa209
2026-01-05T03:54:36.893498Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/config_sample.php
config_sample.php
<?php return [ //Twitter API Keys 'twitter_consumer_key' => getenv('DYNA_TWITTER_KEY') ?: 'APP_CONSUMER_KEY', 'twitter_consumer_secret' => getenv('DYNA_TWITTER_SECRET') ?: 'APP_CONSUMER_SECRET', 'twitter_user_token' => getenv('DYNA_TWITTER_TOKEN') ?: 'USER_ACCESS_TOKEN', 'twitter_token_secret' => g...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Storage.php
app/Storage.php
<?php namespace App; class Storage { public static function downloadImage($url): string { $file_contents = file_get_contents($url); $file_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . basename($url); $image = fopen($file_path, "w+"); fwrite($image, $file_contents); ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Template.php
app/Template.php
<?php namespace App; use GDaisy\Template as GDaisy; class Template extends GDaisy { public array $sources; static function create(string $filename): GDaisy { $template = new Template(basename($filename)); $template->loadJson($filename); return $template; } public functi...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/ApiModel.php
app/ApiModel.php
<?php namespace App; class ApiModel { protected array $properties = []; public function __set(string $key, $content) { $this->properties[$key] = $content; } public function __get(string $key) { return $this->properties[$key] ?? null; } }
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/ImageSource.php
app/ImageSource.php
<?php namespace App; use Minicli\App; interface ImageSource { public function getImageList(App $app, int $limit = 5, array $params = []): array; }
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/ImageSource/TwitterFollowerImageSource.php
app/ImageSource/TwitterFollowerImageSource.php
<?php namespace App\ImageSource; use App\ImageSource; use App\Service\TwitterServiceProvider; use App\Storage; use Minicli\App; class TwitterFollowerImageSource implements ImageSource { static string $prefix = "tw"; public function getImageList(App $app, int $limit = 5, array $params = []): array { ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/ImageSource/GhSponsorImageSource.php
app/ImageSource/GhSponsorImageSource.php
<?php namespace App\ImageSource; use App\ApiModel; use App\ImageSource; use App\Service\GithubServiceProvider; use App\Storage; use Minicli\App; class GhSponsorImageSource implements ImageSource { static string $prefix = "sp"; public function getImageList(App $app, int $limit = 5, array $params = []): array...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/ImageSource/TwitterInteractionsImageSource.php
app/ImageSource/TwitterInteractionsImageSource.php
<?php namespace App\ImageSource; use App\ImageSource; use App\Service\TwitterServiceProvider; use App\Storage; use Minicli\App; class TwitterInteractionsImageSource implements ImageSource { static string $prefix = "int"; public function getImageList(App $app, int $limit = 5, array $params = []): array {...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Service/GithubServiceProvider.php
app/Service/GithubServiceProvider.php
<?php namespace App\Service; use App\ApiModel; use Minicli\App; use Minicli\Curly\Client; use Minicli\ServiceInterface; class GithubServiceProvider implements ServiceInterface { /** @var Client */ public Client $agent; /** @var string Access Token */ protected string $token; /**@var App */ ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Service/TwitterServiceProvider.php
app/Service/TwitterServiceProvider.php
<?php namespace App\Service; use Abraham\TwitterOAuth\TwitterOAuth; use Minicli\App; use Minicli\ServiceInterface; class TwitterServiceProvider implements ServiceInterface { public TwitterOAuth $client; public function load(App $app): void { $api_token = $app->config->twitter_consumer_key; ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Fetch/FollowersController.php
app/Command/Fetch/FollowersController.php
<?php namespace App\Command\Fetch; use App\Service\TwitterServiceProvider; use Minicli\Command\CommandController; use Abraham\TwitterOAuth\TwitterOAuth; class FollowersController extends CommandController { public function handle(): void { /** @var TwitterServiceProvider $twitter */ $twitter ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Generate/InteractionsController.php
app/Command/Generate/InteractionsController.php
<?php namespace App\Command\Generate; use App\ImageSource\TwitterInteractionsImageSource; use App\Service\TwitterServiceProvider; use App\Storage; use App\Template; use GDaisy\Placeholder\ImagePlaceholder; use GDaisy\PlaceholderInterface; use Minicli\Command\CommandController; class InteractionsController extends Co...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Generate/TwitterController.php
app/Command/Generate/TwitterController.php
<?php namespace App\Command\Generate; use App\ImageSource; use App\Storage; use App\Template; use GDaisy\Placeholder\ImagePlaceholder; use GDaisy\PlaceholderInterface; use Minicli\Command\CommandController; class TwitterController extends CommandController { /** * @throws \Exception */ public funct...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Cover/UpdateController.php
app/Command/Cover/UpdateController.php
<?php namespace App\Command\Cover; use App\Storage; use Minicli\Command\CommandController; class UpdateController extends CommandController { public function handle(): void { $template_file = $this->hasParam('template') ? $this->getParam('template') : $this->getApp()->config->default_template; ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Cover/GenerateController.php
app/Command/Cover/GenerateController.php
<?php namespace App\Command\Cover; use Abraham\TwitterOAuth\TwitterOAuth; use App\Service\TwitterServiceProvider; use App\Template; use Minicli\Command\CommandController; use App\Storage; class GenerateController extends CommandController { public function handle(): void { $template_file = $this->has...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Cover/UploadController.php
app/Command/Cover/UploadController.php
<?php namespace App\Command\Cover; use App\Service\TwitterServiceProvider; use App\Storage; use Minicli\Command\CommandController; use MongoDB\Driver\Exception\CommandException; class UploadController extends CommandController { /** * @throws \Exception */ public function handle(): void { ...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
erikaheidi/dynacover
https://github.com/erikaheidi/dynacover/blob/077c1a8863fe0603897d0c80fc30861ab8f91eb2/app/Command/Help/DefaultController.php
app/Command/Help/DefaultController.php
<?php namespace App\Command\Help; use Minicli\App; use Minicli\Command\CommandController; class DefaultController extends CommandController { /** @var array */ protected $command_map = []; public function boot(App $app): void { parent::boot($app); $this->command_map = $app->commandR...
php
MIT
077c1a8863fe0603897d0c80fc30861ab8f91eb2
2026-01-05T03:54:47.726903Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/ProcessSupervisor.php
src/ProcessSupervisor.php
<?php namespace Nesk\Rialto; use Psr\Log\LogLevel; use RuntimeException; use Socket\Raw\Socket; use Socket\Raw\Factory as SocketFactory; use Socket\Raw\Exception as SocketException; use Nesk\Rialto\Exceptions\IdleTimeoutException; use Symfony\Component\Process\Process as SymfonyProcess; use Symfony\Component\Process\...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Instruction.php
src/Instruction.php
<?php namespace Nesk\Rialto; use BadMethodCallException; use InvalidArgumentException; use Nesk\Rialto\Interfaces\ShouldIdentifyResource; use Nesk\Rialto\Exceptions\Node\Exception as NodeException; class Instruction implements \JsonSerializable { public const TYPE_CALL = 'call'; public const TYPE_GET = 'get'...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Logger.php
src/Logger.php
<?php namespace Nesk\Rialto; use Symfony\Component\Process\Process; use Psr\Log\{LoggerInterface, LogLevel}; class Logger implements LoggerInterface { /** * The original logger. * * @var \Psr\Log\LoggerInterface */ protected $logger; /** * Constructor. */ public functio...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/AbstractEntryPoint.php
src/AbstractEntryPoint.php
<?php namespace Nesk\Rialto; use Nesk\Rialto\Interfaces\ShouldHandleProcessDelegation; abstract class AbstractEntryPoint { use Traits\CommunicatesWithProcessSupervisor; /** * Forbidden options for the user. * * @var string[] */ protected $forbiddenOptions = ['stop_timeout']; /**...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/ReadSocketTimeoutException.php
src/Exceptions/ReadSocketTimeoutException.php
<?php namespace Nesk\Rialto\Exceptions; class ReadSocketTimeoutException extends \RuntimeException { /** * Constructor. */ public function __construct(float $timeout, \Throwable $previous = null) { $timeout = number_format($timeout, 3); parent::__construct(implode(' ', [ ...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/IdleTimeoutException.php
src/Exceptions/IdleTimeoutException.php
<?php namespace Nesk\Rialto\Exceptions; use Symfony\Component\Process\Process; class IdleTimeoutException extends \RuntimeException { /** * Check if the exception can be applied to the process. */ public static function exceptionApplies(Process $process): bool { if (Node\FatalException:...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/ProcessUnexpectedlyTerminatedException.php
src/Exceptions/ProcessUnexpectedlyTerminatedException.php
<?php namespace Nesk\Rialto\Exceptions; use Symfony\Component\Process\Process; class ProcessUnexpectedlyTerminatedException extends \RuntimeException { use IdentifiesProcess; /** * Constructor. */ public function __construct(Process $process) { parent::__construct('The process has ...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/IdentifiesProcess.php
src/Exceptions/IdentifiesProcess.php
<?php namespace Nesk\Rialto\Exceptions; trait IdentifiesProcess { /** * The associated process. * * @var \Symfony\Component\Process\Process */ private $process; /** * Return the associated process. */ public function getProcess(): Process { return $this->proc...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/Node/FatalException.php
src/Exceptions/Node/FatalException.php
<?php namespace Nesk\Rialto\Exceptions\Node; use Symfony\Component\Process\Process; use Nesk\Rialto\Exceptions\IdentifiesProcess; class FatalException extends \RuntimeException { use HandlesNodeErrors, IdentifiesProcess; /** * Check if the exception can be applied to the process. */ public sta...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/Node/Exception.php
src/Exceptions/Node/Exception.php
<?php namespace Nesk\Rialto\Exceptions\Node; class Exception extends \RuntimeException { use HandlesNodeErrors; /** * Constructor. */ public function __construct($error, bool $appendStackTraceToMessage = false) { $message = $this->setTraceAndGetMessage($error, $appendStackTraceToMes...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Exceptions/Node/HandlesNodeErrors.php
src/Exceptions/Node/HandlesNodeErrors.php
<?php namespace Nesk\Rialto\Exceptions\Node; trait HandlesNodeErrors { /** * The original stack trace. * * @var string|null */ protected $originalTrace = null; /** * Determines if the string contains a Node error. */ protected static function isNodeError(string $error): ...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Interfaces/ShouldHandleProcessDelegation.php
src/Interfaces/ShouldHandleProcessDelegation.php
<?php namespace Nesk\Rialto\Interfaces; interface ShouldHandleProcessDelegation { /** * Return the fully qualified name of the default resource. */ public function defaultResource(): string; /** * Return the fully qualified name of a resource based on the original class name. */ p...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Interfaces/ShouldCommunicateWithProcessSupervisor.php
src/Interfaces/ShouldCommunicateWithProcessSupervisor.php
<?php namespace Nesk\Rialto\Interfaces; use Nesk\Rialto\ProcessSupervisor; interface ShouldCommunicateWithProcessSupervisor { /** * Set the process supervisor. * * @throws \RuntimeException if the process has already been set. */ public function setProcessSupervisor(ProcessSupervisor $pro...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Interfaces/ShouldIdentifyResource.php
src/Interfaces/ShouldIdentifyResource.php
<?php namespace Nesk\Rialto\Interfaces; use Nesk\Rialto\Data\ResourceIdentity; interface ShouldIdentifyResource { /** * Return the identity of the resource. */ public function getResourceIdentity(): ?ResourceIdentity; /** * Set the identity of the resource. * * @throws \RuntimeE...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Traits/UsesBasicResourceAsDefault.php
src/Traits/UsesBasicResourceAsDefault.php
<?php namespace Nesk\Rialto\Traits; trait UsesBasicResourceAsDefault { /** * Return the fully qualified name of the default resource. */ public function defaultResource(): string { return \Nesk\Rialto\Data\BasicResource::class; } }
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Traits/IdentifiesResource.php
src/Traits/IdentifiesResource.php
<?php namespace Nesk\Rialto\Traits; use RuntimeException; use Nesk\Rialto\Data\ResourceIdentity; trait IdentifiesResource { /** * The identity of the resource. * * @var \Nesk\Rialto\ResourceIdentity */ protected $resourceIdentity; /** * Return the identity of the resource. ...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Traits/CommunicatesWithProcessSupervisor.php
src/Traits/CommunicatesWithProcessSupervisor.php
<?php namespace Nesk\Rialto\Traits; use Nesk\Rialto\{Instruction, ProcessSupervisor}; use Nesk\Rialto\Interfaces\ShouldIdentifyResource; trait CommunicatesWithProcessSupervisor { /** * The process supervisor to communicate with. * * @var \Nesk\Rialto\ProcessSupervisor */ protected $proces...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Data/ResourceIdentity.php
src/Data/ResourceIdentity.php
<?php namespace Nesk\Rialto\Data; class ResourceIdentity implements \JsonSerializable { /** * The class name of the resource. * * @var string */ protected $className; /** * The unique identifier of the resource. * * @var string */ protected $uniqueIdentifier; ...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Data/UnserializesData.php
src/Data/UnserializesData.php
<?php namespace Nesk\Rialto\Data; use Nesk\Rialto\Exceptions\Node\Exception; use Nesk\Rialto\Interfaces\ShouldHandleProcessDelegation; use Nesk\Rialto\Interfaces\{ShouldIdentifyResource, ShouldCommunicateWithProcessSupervisor}; trait UnserializesData { /** * Unserialize a value. */ protected functi...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Data/BasicResource.php
src/Data/BasicResource.php
<?php namespace Nesk\Rialto\Data; use Nesk\Rialto\Traits\{IdentifiesResource, CommunicatesWithProcessSupervisor}; use Nesk\Rialto\Interfaces\{ShouldIdentifyResource, ShouldCommunicateWithProcessSupervisor}; class BasicResource implements ShouldIdentifyResource, ShouldCommunicateWithProcessSupervisor, \JsonSerializab...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/src/Data/JsFunction.php
src/Data/JsFunction.php
<?php namespace Nesk\Rialto\Data; class JsFunction implements \JsonSerializable { /** * The parameters of the function. * * @var array */ protected $parameters; /** * The body of the function. * * @var string */ protected $body; /** * The scope of the fun...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/TestCase.php
tests/TestCase.php
<?php namespace Nesk\Rialto\Tests; use Monolog\Logger; use ReflectionClass; use Psr\Log\LogLevel; use PHPUnit\Util\ErrorHandler; use Symfony\Component\Process\Process; use PHPUnit\Framework\Constraint\Callback; use PHPUnit\Framework\TestCase as BaseTestCase; use PHPUnit\Framework\MockObject\Matcher\Invocation; class...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/ImplementationTest.php
tests/ImplementationTest.php
<?php namespace Nesk\Rialto\Tests; use Monolog\Logger; use Nesk\Rialto\Data\JsFunction; use Nesk\Rialto\Exceptions\Node; use Nesk\Rialto\Data\BasicResource; use Symfony\Component\Process\Process; use Nesk\Rialto\Tests\Implementation\Resources\Stats; use Nesk\Rialto\Tests\Implementation\{FsWithProcessDelegation, FsWit...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/Implementation/FsProcessDelegate.php
tests/Implementation/FsProcessDelegate.php
<?php namespace Nesk\Rialto\Tests\Implementation; use Nesk\Rialto\Traits\UsesBasicResourceAsDefault; use Nesk\Rialto\Interfaces\ShouldHandleProcessDelegation; class FsProcessDelegate implements ShouldHandleProcessDelegation { use UsesBasicResourceAsDefault; public function resourceFromOriginalClassName(stri...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/Implementation/FsWithoutProcessDelegation.php
tests/Implementation/FsWithoutProcessDelegation.php
<?php namespace Nesk\Rialto\Tests\Implementation; use Nesk\Rialto\AbstractEntryPoint; class FsWithoutProcessDelegation extends AbstractEntryPoint { public function __construct() { parent::__construct(__DIR__.'/FsConnectionDelegate.js'); } }
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/Implementation/FsWithProcessDelegation.php
tests/Implementation/FsWithProcessDelegation.php
<?php namespace Nesk\Rialto\Tests\Implementation; use Nesk\Rialto\ProcessSupervisor; use Nesk\Rialto\AbstractEntryPoint; class FsWithProcessDelegation extends AbstractEntryPoint { protected $forbiddenOptions = ['stop_timeout', 'foo']; public function __construct(array $userOptions = []) { parent...
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
rialto-php/rialto
https://github.com/rialto-php/rialto/blob/70e7c3db56f945ca50839e422770c902970341f4/tests/Implementation/Resources/Stats.php
tests/Implementation/Resources/Stats.php
<?php namespace Nesk\Rialto\Tests\Implementation\Resources; use Nesk\Rialto\Data\BasicResource; class Stats extends BasicResource { // }
php
MIT
70e7c3db56f945ca50839e422770c902970341f4
2026-01-05T03:55:11.246078Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/CagiloServiceProvider.php
src/CagiloServiceProvider.php
<?php declare(strict_types=1); namespace Cagilo\UI; use Illuminate\Support\Facades\Blade; use Illuminate\Support\ServiceProvider; use Orchid\Icons\IconFinder; class CagiloServiceProvider extends ServiceProvider { /** * Bootstrap your package's services. * * @param IconFinder $iconFinder * ...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Icon.php
src/Components/Icon.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Orchid\Icons\IconComponent as OrchidIcon; class Icon extends OrchidIcon {}
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Time.php
src/Components/Time.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Carbon\Carbon; use DateTimeInterface; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Time extends Component { /** * @var \Carbon\Carbon */ public $date; /** * @var string */ public $form...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Logout.php
src/Components/Logout.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Illuminate\Contracts\View\View; use Illuminate\Support\Facades\Route; use Illuminate\View\Component; /** * It is recommended to use the <x-submit> tag instead of this class */ class Logout extends Component { /** * Attribute specifies whe...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Meta.php
src/Components/Meta.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Meta extends Component { public $title; public $description; public $author; public $robots; public $keywords; public $type; public $card; public $i...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Submit.php
src/Components/Submit.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Illuminate\Contracts\View\View; use Illuminate\Support\Facades\Route; use Illuminate\Support\Str; use Illuminate\View\Component; class Submit extends Component { /** * Attribute specifies where to send * the form-data when a form is su...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Error.php
src/Components/Error.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Illuminate\Contracts\View\View; use Illuminate\Support\ViewErrorBag; use Illuminate\View\Component; class Error extends Component { /** * @var string */ public string $field; /** * @var string */ public string $b...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Device.php
src/Components/Device.php
<?php namespace Cagilo\UI\Components; use Illuminate\Support\Collection; use Illuminate\View\Component; use Jenssegers\Agent\Agent; class Device extends Component { /** * @var Agent */ protected Agent $agent; /** * @var Collection */ protected Collection $rules; /** * C...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/src/Components/Alert.php
src/Components/Alert.php
<?php declare(strict_types=1); namespace Cagilo\UI\Components; use Illuminate\Contracts\Session\Session; use Illuminate\Contracts\View\View; use Illuminate\Support\Arr; use Illuminate\View\Component; class Alert extends Component { /** * @var string */ public string $type; /** * @var \Il...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/TestView.php
tests/TestView.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests; use Illuminate\Testing\Assert; use Illuminate\Testing\Constraints\SeeInOrder; use Illuminate\View\View; class TestView { /** * The original view. * * @var \Illuminate\View\View */ protected $view; /** * The rendered view...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/ComponentTestCase.php
tests/ComponentTestCase.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests; use Cagilo\UI\CagiloServiceProvider; use Orchestra\Testbench\TestCase; /** * Class ComponentTestCase. */ abstract class ComponentTestCase extends TestCase { protected function setUp(): void { parent::setUp(); $this->artisan('view:c...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/SubmitTest.php
tests/Components/SubmitTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; class SubmitTest extends ComponentTestCase { /** * Define web routes setup. * * @api * * @param \Illuminate\Routing\Router $router * * @return void */ protected...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/ErrorTest.php
tests/Components/ErrorTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; class ErrorTest extends ComponentTestCase { public function testComponentRendered(): void { $this ->withViewErrors(['first_name' => 'Incorrect first name.']) ->blade('<...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/AlertTest.php
tests/Components/AlertTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; class AlertTest extends ComponentTestCase { public function testShowMessage(): void { session()->flash('alert', 'Form was successfully submitted.'); $this ->blade('<x-aler...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/DeviceTest.php
tests/Components/DeviceTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Components\Device; use Cagilo\UI\Tests\ComponentTestCase; use Jenssegers\Agent\Agent; class DeviceTest extends ComponentTestCase { /** * @param string $userAgent * @param bool $desktop * @param bool $phone ...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/MetaTest.php
tests/Components/MetaTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; class MetaTest extends ComponentTestCase { public function testRender(): void { $template = <<<'HTML' <x-meta title="Hello World" description="Blade...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/TimeTest.php
tests/Components/TimeTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; use Carbon\Carbon; class TimeTest extends ComponentTestCase { /** * @var \Carbon\Carbon */ protected $date; protected function setUp(): void { parent::setUp(); $thi...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/tests/Components/LogoutTest.php
tests/Components/LogoutTest.php
<?php declare(strict_types=1); namespace Cagilo\UI\Tests\Components; use Cagilo\UI\Tests\ComponentTestCase; class LogoutTest extends ComponentTestCase { /** * Define web routes setup. * * @api * * @param \Illuminate\Routing\Router $router * * @return void */ protected...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/config/cagilo.php
config/cagilo.php
<?php use Cagilo\UI\Components; return [ /* |-------------------------------------------------------------------------- | Components |-------------------------------------------------------------------------- | | Below you reference all components that should be loaded for your app. | By ...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/alert.blade.php
resources/views/alert.blade.php
<div role="alert" {{ $attributes }}> {{ $slot->isEmpty() ? $message() : $slot }} </div>
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/submit.blade.php
resources/views/submit.blade.php
<form method="POST" action="{{ $action }}" id="{{ $formId }}"> @if($method) @method($method) @endif @csrf </form> <button form="{{ $formId }}" type="submit" {{ $attributes }}> {{ $slot->isEmpty() ? __('Submit') : $slot }} </button>
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/meta.blade.php
resources/views/meta.blade.php
<title>{!! $title !!}</title> {{-- Primary Meta Tags --}} <meta name="title" content="{!! $title !!}"> <meta name="description" content="{!! $description !!}"> @empty(!$keywords) <meta name="keywords" content="{!! $keywords !!}"> @endempty @empty(!$author) <meta name="author" content="{!! $author !!}"> @endempty @e...
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/time.blade.php
resources/views/time.blade.php
<time datetime="{{ $date->toISOString() }}" {{ $attributes }}> {{ $human ? $date->diffForHumans() : $date->format($format) }} </time>
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/logout.blade.php
resources/views/logout.blade.php
<x-submit action="{{ $action }}" formId="{{$formId}}" {{ $attributes }}> {{ $slot->isEmpty() ? __('Log out') : $slot }} </x-submit>
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
cagilo/cagilo
https://github.com/cagilo/cagilo/blob/670c1f08ac8fe3cc00bb71deea0c19329ec1fb36/resources/views/error.blade.php
resources/views/error.blade.php
@error($field, $bag) <div {{ $attributes }}> {{ $slot->isEmpty() ? $message : $slot }} </div> @enderror
php
MIT
670c1f08ac8fe3cc00bb71deea0c19329ec1fb36
2026-01-05T03:55:24.860281Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/server.php
web/server.php
<?php /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. Thi...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/ApiKey.php
web/app/ApiKey.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use Illuminate\Support\Facades\Hash; class ApiKey extends Model { /** * Model stored in table 'apikey' */ protected $table = 'api_key'; /** * The primary key is here 'apikey_id' not the default 'id' ...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Accesskey.php
web/app/Accesskey.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Carbon\Carbon; class Accesskey extends Model { /** * Model stored in table 'device' */ protected $table = 'google_accesskey'; /** * The primary key is here 'device_id' not the default 'id' */ protected $primaryKey = ...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/User.php
web/app/User.php
<?php namespace App; use Illuminate\Notifications\Notifiable; use Tymon\JWTAuth\Contracts\JWTSubject; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Support\Facades\Mail; use App\Mail\ResetPasswordMail; class User extends Authenticatable implements JWTSubject { use Notifiable; /** ...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/DeviceType.php
web/app/DeviceType.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class DeviceType extends Model { /** * Model stored in table 'device_type' */ protected $table = 'device_type'; /** * The primary key is here 'devicetype_id' not the default 'id' */ protected $primaryKey = 'devicetype_id...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Device.php
web/app/Device.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Device extends Model { /** * Model stored in table 'device' */ protected $table = 'device'; /** * The primary key is here 'device_id' not the default 'id' */ protected $primaryKey = 'device_id'; /** * Time...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/TraitType.php
web/app/TraitType.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; class TraitType extends Model { /** * Model stored in table 'trait_type' */ protected $table = 'trait_type'; /** * The primary key is here 'traittype_id' not the default 'id' */ protect...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Exceptions/Handler.php
web/app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Http/Kernel.php
web/app/Http/Kernel.php
<?php namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middleware =...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Http/Controllers/GapiController.php
web/app/Http/Controllers/GapiController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Accesskey; use App\Device; use Illuminate\Support\Facades\Redis; use Illuminate\Support\Facades\Log; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Auth; class GapiController extends Controller { /** * Show a form...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false
kservices/gBridge
https://github.com/kservices/gBridge/blob/25d2a5e528b272340f98077b43aa346671157fdd/web/app/Http/Controllers/Controller.php
web/app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class Controller extends BaseController { use AuthorizesReques...
php
MIT
25d2a5e528b272340f98077b43aa346671157fdd
2026-01-05T03:55:31.065813Z
false