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 |
|---|---|---|---|---|---|---|---|---|
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/ResolveSocialiteUser.php | app/Actions/Socialstream/ResolveSocialiteUser.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use JoelButcher\Socialstream\Contracts\ResolvesSocialiteUsers;
use JoelButcher\Socialstream\Socialstream;
use Laravel\Socialite\Contracts\User;
use Laravel\Socialite\Facades\Socialite;
class ResolveSocialiteUser implements ResolvesSocialiteUsers
{
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/SetUserPassword.php | app/Actions/Socialstream/SetUserPassword.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rules\Password;
use JoelButcher\Socialstream\Contracts\SetsUserPasswords;
class SetUserPassword implements SetsUserPasswords
{
/**
* Va... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/CreateUserFromProvider.php | app/Actions/Socialstream/CreateUserFromProvider.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use App\Models\User;
use Illuminate\Support\Facades\DB;
use JoelButcher\Socialstream\Contracts\CreatesConnectedAccounts;
use JoelButcher\Socialstream\Contracts\CreatesUserFromProvider;
use JoelButcher\Socialstream\Socialstream;
use Laravel\Socialite\... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/CreateConnectedAccount.php | app/Actions/Socialstream/CreateConnectedAccount.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use JoelButcher\Socialstream\ConnectedAccount;
use JoelButcher\Socialstream\Contracts\CreatesConnectedAccounts;
use JoelButcher\Socialstream\Socialstream;
use Laravel\Socialite\Contracts\User as ProviderUser;
class CreateConnectedAccount implements ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/GenerateRedirectForProvider.php | app/Actions/Socialstream/GenerateRedirectForProvider.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use JoelButcher\Socialstream\Contracts\GeneratesProviderRedirect;
use Laravel\Socialite\Facades\Socialite;
use Symfony\Component\HttpFoundation\RedirectResponse;
class GenerateRedirectForProvider implements GeneratesProviderRedirect
{
/**
*... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/HandleInvalidState.php | app/Actions/Socialstream/HandleInvalidState.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use Illuminate\Http\Response;
use JoelButcher\Socialstream\Contracts\HandlesInvalidState;
use Laravel\Socialite\Two\InvalidStateException;
class HandleInvalidState implements HandlesInvalidState
{
/**
* Handle an invalid state exception fro... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Socialstream/UpdateConnectedAccount.php | app/Actions/Socialstream/UpdateConnectedAccount.php | <?php
declare(strict_types=1);
namespace App\Actions\Socialstream;
use Illuminate\Support\Facades\Gate;
use JoelButcher\Socialstream\ConnectedAccount;
use JoelButcher\Socialstream\Contracts\UpdatesConnectedAccounts;
use JoelButcher\Socialstream\Socialstream;
use Laravel\Socialite\Contracts\User;
class UpdateConnect... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Fortify/UpdateUserProfileInformation.php | app/Actions/Fortify/UpdateUserProfileInformation.php | <?php
declare(strict_types=1);
namespace App\Actions\Fortify;
use App\Models\User;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Rule;
use Laravel\Fortify\Contracts\UpdatesUserProfileInformation;
class UpdateUserProfileInformation implements Updat... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Fortify/UpdateUserPassword.php | app/Actions/Fortify/UpdateUserPassword.php | <?php
declare(strict_types=1);
namespace App\Actions\Fortify;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\UpdatesUserPasswords;
class UpdateUserPassword implements UpdatesUserPasswords
{
use PasswordValidationRules;
/**
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Fortify/CreateNewUser.php | app/Actions/Fortify/CreateNewUser.php | <?php
declare(strict_types=1);
namespace App\Actions\Fortify;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\CreatesNewUsers;
use Laravel\Jetstream\Jetstream;
class CreateNewUser implements CreatesNewUsers
{
use PasswordValidatio... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Fortify/PasswordValidationRules.php | app/Actions/Fortify/PasswordValidationRules.php | <?php
declare(strict_types=1);
namespace App\Actions\Fortify;
use Illuminate\Validation\Rules\Password;
trait PasswordValidationRules
{
/**
* Get the validation rules used to validate passwords.
*
* @return array<int, \Illuminate\Contracts\Validation\Rule|array<mixed>|string>
*/
protecte... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Fortify/ResetUserPassword.php | app/Actions/Fortify/ResetUserPassword.php | <?php
declare(strict_types=1);
namespace App\Actions\Fortify;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\ResetsUserPasswords;
class ResetUserPassword implements ResetsUserPasswords
{
use PasswordValidationRules;
/**
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Actions/Jetstream/DeleteUser.php | app/Actions/Jetstream/DeleteUser.php | <?php
declare(strict_types=1);
namespace App\Actions\Jetstream;
use App\Models\User;
use Laravel\Jetstream\Contracts\DeletesUsers;
class DeleteUser implements DeletesUsers
{
/**
* Delete the given user.
*/
public function delete(User $user): void
{
$user->deleteProfilePhoto();
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Console/Commands/CreateSuperAdminUser.php | app/Console/Commands/CreateSuperAdminUser.php | <?php
declare(strict_types=1);
namespace App\Console\Commands;
use App\Enumerations\Role;
use App\Models\User;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Hash;
use function Laravel\Prompts\password;
use function Laravel\Prompts\text;
class CreateSuperAdminUser extends Command
{
/**
* T... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Models/BlogPost.php | app/Models/BlogPost.php | <?php
declare(strict_types=1);
namespace App\Models;
use App\Enumerations\BlogPostStatus;
use App\Observers\BlogPostObserver;
use Illuminate\Database\Eloquent\Attributes\ObservedBy;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Models/User.php | app/Models/User.php | <?php
declare(strict_types=1);
namespace App\Models;
use App\Enumerations\Role;
use Filament\Models\Contracts\FilamentUser;
use Filament\Panel;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Founda... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Models/ConnectedAccount.php | app/Models/ConnectedAccount.php | <?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Concerns\HasTimestamps;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use JoelButcher\Socialstream\ConnectedAccount as SocialstreamConnectedAccount;
use JoelButcher\Socialstream\Events\ConnectedAccountCreated;
use JoelButc... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/FolioServiceProvider.php | app/Providers/FolioServiceProvider.php | <?php
declare(strict_types=1);
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Folio\Folio;
class FolioServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/FortifyServiceProvider.php | app/Providers/FortifyServiceProvider.php | <?php
declare(strict_types=1);
namespace App\Providers;
use App\Actions\Fortify\CreateNewUser;
use App\Actions\Fortify\ResetUserPassword;
use App\Actions\Fortify\UpdateUserPassword;
use App\Actions\Fortify\UpdateUserProfileInformation;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Http\Request;
use Illumin... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/SocialstreamServiceProvider.php | app/Providers/SocialstreamServiceProvider.php | <?php
declare(strict_types=1);
namespace App\Providers;
use App\Actions\Socialstream\CreateConnectedAccount;
use App\Actions\Socialstream\CreateUserFromProvider;
use App\Actions\Socialstream\GenerateRedirectForProvider;
use App\Actions\Socialstream\HandleInvalidState;
use App\Actions\Socialstream\ResolveSocialiteUse... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
declare(strict_types=1);
namespace App\Providers;
use App\Models\User;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/JetstreamServiceProvider.php | app/Providers/JetstreamServiceProvider.php | <?php
declare(strict_types=1);
namespace App\Providers;
use App\Actions\Jetstream\DeleteUser;
use Illuminate\Support\ServiceProvider;
use Laravel\Jetstream\Jetstream;
class JetstreamServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): vo... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Providers/Filament/AdminPanelProvider.php | app/Providers/Filament/AdminPanelProvider.php | <?php
declare(strict_types=1);
namespace App\Providers\Filament;
use App\Filament\Color;
use App\Filament\Pages\Dashboard;
use Filament\Http\Middleware\Authenticate;
use Filament\Http\Middleware\DisableBladeIconComponents;
use Filament\Http\Middleware\DispatchServingFilamentEvent;
use Filament\Navigation\NavigationG... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/Policies/ConnectedAccountPolicy.php | app/Policies/ConnectedAccountPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies;
use App\Models\ConnectedAccount;
use App\Models\User;
use Illuminate\Auth\Access\HandlesAuthorization;
class ConnectedAccountPolicy
{
use HandlesAuthorization;
/**
* Determine whether the user can view any models.
*/
public function viewA... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/View/Components/GuestLayout.php | app/View/Components/GuestLayout.php | <?php
declare(strict_types=1);
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class GuestLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
return view('layouts.guest');
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/app/View/Components/AppLayout.php | app/View/Components/AppLayout.php | <?php
declare(strict_types=1);
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class AppLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
return view('layouts.app');
}
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/bootstrap/app.php | bootstrap/app.php | <?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
api: __DIR__.'/../routes/api.php',
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/bootstrap/providers.php | bootstrap/providers.php | <?php
declare(strict_types=1);
return [
App\Providers\AppServiceProvider::class,
App\Providers\Filament\AdminPanelProvider::class,
App\Providers\FolioServiceProvider::class,
App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class,
App\Providers\SocialstreamSe... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Pest.php | tests/Pest.php | <?php
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
/*
|--------------------------------------------------------------------------
| Test Case
|--------------------------------------------------------------------------
|
| The closure you provide to your test functions is always bound to a sp... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/TestCase.php | tests/TestCase.php | <?php
declare(strict_types=1);
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
//
}
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/DeleteApiTokenTest.php | tests/Feature/DeleteApiTokenTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Support\Str;
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Livewire\ApiTokenManager;
use Livewire\Livewire;
test('api tokens can be deleted', function () {
if (Features::hasTeamFeatures()) {
$this->actingAs($user = User::fact... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/AuthenticationTest.php | tests/Feature/AuthenticationTest.php | <?php
declare(strict_types=1);
use App\Models\User;
test('login screen can be rendered', function () {
$response = $this->get('/login');
$response->assertStatus(200);
});
test('users can authenticate using the login screen', function () {
$user = User::factory()->create();
$response = $this->post(... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/TwoFactorAuthenticationSettingsTest.php | tests/Feature/TwoFactorAuthenticationSettingsTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Fortify\Features;
use Laravel\Jetstream\Http\Livewire\TwoFactorAuthenticationForm;
use Livewire\Livewire;
test('two factor authentication can be enabled', function () {
$this->actingAs($user = User::factory()->create()->fresh());
$this->withSes... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/PasswordConfirmationTest.php | tests/Feature/PasswordConfirmationTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Jetstream\Features;
test('confirm password screen can be rendered', function () {
$user = Features::hasTeamFeatures()
? User::factory()->withPersonalTeam()->create()
: User::factory()->create();
$response... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/ProfileInformationTest.php | tests/Feature/ProfileInformationTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Jetstream\Http\Livewire\UpdateProfileInformationForm;
use Livewire\Livewire;
test('current profile information is available', function () {
$this->actingAs($user = User::factory()->create());
$component = Livewire::test(UpdateProfileInformation... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/PasswordResetTest.php | tests/Feature/PasswordResetTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Support\Facades\Notification;
use Laravel\Fortify\Features;
test('reset password link screen can be rendered', function () {
$response = $this->get('/forgot-password');
$response->assertStatus... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/DeleteAccountTest.php | tests/Feature/DeleteAccountTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Livewire\DeleteUserForm;
use Livewire\Livewire;
test('user accounts can be deleted', function () {
$this->actingAs($user = User::factory()->create());
Livewire::test(DeleteUserForm::class)
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/ApiTokenPermissionsTest.php | tests/Feature/ApiTokenPermissionsTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Support\Str;
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Livewire\ApiTokenManager;
use Livewire\Livewire;
test('api token permissions can be updated', function () {
if (Features::hasTeamFeatures()) {
$this->actingAs($user =... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/CreateApiTokenTest.php | tests/Feature/CreateApiTokenTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Livewire\ApiTokenManager;
use Livewire\Livewire;
test('api tokens can be created', function () {
if (Features::hasTeamFeatures()) {
$this->actingAs($user = User::factory()->withPersonalTeam()->c... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/UpdatePasswordTest.php | tests/Feature/UpdatePasswordTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Laravel\Jetstream\Http\Livewire\UpdatePasswordForm;
use Livewire\Livewire;
test('password can be updated', function () {
$this->actingAs($user = User::factory()->create());
Livewire::test(UpdatePasswordForm::class)
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/RegistrationTest.php | tests/Feature/RegistrationTest.php | <?php
declare(strict_types=1);
use Laravel\Fortify\Features;
use Laravel\Jetstream\Jetstream;
test('registration screen can be rendered', function () {
$response = $this->get('/register');
$response->assertStatus(200);
})->skip(function () {
return ! Features::enabled(Features::registration());
}, 'Regi... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/SocialstreamRegistrationTest.php | tests/Feature/SocialstreamRegistrationTest.php | <?php
declare(strict_types=1);
namespace tests;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Session;
use JoelButcher\Socialstream\Providers;
use Laravel\Fortify\Features as FortifyFeatures;
use Laravel\Socialite\Facades\Socialite;
use Laravel\Socialite\Two\User;
use Mockery;
use... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/EmailVerificationTest.php | tests/Feature/EmailVerificationTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Auth\Events\Verified;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\URL;
use Laravel\Fortify\Features;
test('email verification screen can be rendered', function () {
$user = User::factory()->withPersonalTeam()->create([
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/ExampleTest.php | tests/Feature/ExampleTest.php | <?php
declare(strict_types=1);
it('returns a successful response', function () {
$response = $this->get('/');
$response->assertStatus(200);
});
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Feature/BrowserSessionsTest.php | tests/Feature/BrowserSessionsTest.php | <?php
declare(strict_types=1);
use App\Models\User;
use Laravel\Jetstream\Http\Livewire\LogoutOtherBrowserSessionsForm;
use Livewire\Livewire;
test('other browser sessions can be logged out', function () {
$this->actingAs(User::factory()->create());
Livewire::test(LogoutOtherBrowserSessionsForm::class)
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/tests/Unit/ExampleTest.php | tests/Unit/ExampleTest.php | <?php
declare(strict_types=1);
test('that true is true', function () {
expect(true)->toBeTrue();
});
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/routes/web.php | routes/web.php | <?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
Route::middleware([
'auth:sanctum',
config('jetstream.auth_session'),
'verified',
])->group(function () {
Route::get('dashboard', function () {
return view('dashboard');
})->name('dashboard');
});
require __DIR__ . '/soc... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/routes/socialstream.php | routes/socialstream.php | <?php
declare(strict_types=1);
use Illuminate\Support\Facades\Route;
use JoelButcher\Socialstream\Http\Controllers\OAuthController;
Route::group(['middleware' => config('socialstream.middleware', ['web'])], function () {
Route::get('oauth/{provider}', [OAuthController::class, 'redirect'])->name('oauth.redirect')... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/routes/api.php | routes/api.php | <?php
declare(strict_types=1);
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::get('user', function (Request $request) {
return $request->user();
})->middleware('auth:sanctum');
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/routes/console.php | routes/console.php | <?php
declare(strict_types=1);
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();
| php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/public/index.php | public/index.php | <?php
declare(strict_types=1);
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
req... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/socialstream.php | config/socialstream.php | <?php
declare(strict_types=1);
use JoelButcher\Socialstream\Features;
use JoelButcher\Socialstream\Providers;
return [
'guard' => 'web', // used if Fortify is not installed
'middleware' => ['web'],
'prompt' => 'Or Login Via',
'providers' => [
// Providers::github(),
],
'features' => [... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/telescope.php | config/telescope.php | <?php
declare(strict_types=1);
use Laravel\Telescope\Http\Middleware\Authorize;
use Laravel\Telescope\Watchers;
return [
/*
|--------------------------------------------------------------------------
| Telescope Domain
|--------------------------------------------------------------------------
|... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/insights.php | config/insights.php | <?php
declare(strict_types=1);
use NunoMaduro\PhpInsights\Domain\Insights\CyclomaticComplexityIsHigh;
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenDefineFunctions;
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenFinalClasses;
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenNormalClasses;
use NunoMaduro... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/app.php | config/app.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application, which will be used when the
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/logging.php | config/logging.php | <?php
declare(strict_types=1);
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|------... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/session.php | config/session.php | <?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option determines the default sessi... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/queue.php | config/queue.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue supports a variety of backends via a single, u... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/debugbar.php | config/debugbar.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Debugbar Settings
|--------------------------------------------------------------------------
|
| Debugbar is enabled by default, when debug is set to true in app.php.... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/pulse.php | config/pulse.php | <?php
declare(strict_types=1);
use Laravel\Pulse\Http\Middleware\Authorize;
use Laravel\Pulse\Pulse;
use Laravel\Pulse\Recorders;
return [
/*
|--------------------------------------------------------------------------
| Pulse Domain
|------------------------------------------------------------------... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/cache.php | config/cache.php | <?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache stor... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/hashing.php | config/hashing.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Default Hash Driver
|--------------------------------------------------------------------------
|
| This option controls the default hash driver that will be used to hash
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/view.php | config/view.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/database.php | config/database.php | <?php
declare(strict_types=1);
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/services.php | config/services.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/filesystems.php | config/filesystems.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/octane.php | config/octane.php | <?php
declare(strict_types=1);
use Laravel\Octane\Contracts\OperationTerminated;
use Laravel\Octane\Events\RequestHandled;
use Laravel\Octane\Events\RequestReceived;
use Laravel\Octane\Events\RequestTerminated;
use Laravel\Octane\Events\TaskReceived;
use Laravel\Octane\Events\TaskTerminated;
use Laravel\Octane\Events... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/mail.php | config/mail.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send all email
| ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/cors.php | config/cors.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/fortify.php | config/fortify.php | <?php
declare(strict_types=1);
use Laravel\Fortify\Features;
return [
/*
|--------------------------------------------------------------------------
| Fortify Guard
|--------------------------------------------------------------------------
|
| Here you may specify which authentication guard... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/jetstream.php | config/jetstream.php | <?php
declare(strict_types=1);
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Middleware\AuthenticateSession;
return [
/*
|--------------------------------------------------------------------------
| Jetstream Stack
|-----------------------------------------------------------------------... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/filament.php | config/filament.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Broadcasting
|--------------------------------------------------------------------------
|
| By uncommenting the Laravel Echo configuration, you may connect Filament
| ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/auth.php | config/auth.php | <?php
declare(strict_types=1);
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option defines the default authentication "guard" and password
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/config/sanctum.php | config/sanctum.php | <?php
declare(strict_types=1);
use Laravel\Sanctum\Sanctum;
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts w... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/factories/BlogPostFactory.php | database/factories/BlogPostFactory.php | <?php
declare(strict_types=1);
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\BlogPost>
*/
class BlogPostFactory extends Factory
{
/**
* Define the model's default state.
*
* @return ar... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/factories/UserFactory.php | database/factories/UserFactory.php | <?php
declare(strict_types=1);
namespace Database\Factories;
use App\Models\ConnectedAccount;
use App\Models\Team;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use JoelButcher\Socialstream\Providers;
use Laravel\Jetstream\Features as JetstreamFeatures;
/**
* ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/factories/ConnectedAccountFactory.php | database/factories/ConnectedAccountFactory.php | <?php
declare(strict_types=1);
namespace Database\Factories;
use App\Models\ConnectedAccount;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
use JoelButcher\Socialstream\Providers;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\ConnectedAccount>
*/
clas... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/0001_01_01_000002_create_jobs_table.php | database/migrations/0001_01_01_000002_create_jobs_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
if (! Schema::connection('queue_db')->hasTable('jobs')) {
Schema:... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/2024_08_07_174524_make_password_nullable_on_users_table.php | database/migrations/2024_08_07_174524_make_password_nullable_on_users_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->stri... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/2024_08_07_171722_create_personal_access_tokens_table.php | database/migrations/2024_08_07_171722_create_personal_access_tokens_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/2024_08_07_174525_create_connected_accounts_table.php | database/migrations/2024_08_07_174525_create_connected_accounts_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('connected_accounts', function (Blueprint $table) {
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/0001_01_01_000003_create_pulse_tables.php | database/migrations/0001_01_01_000003_create_pulse_tables.php | <?php
declare(strict_types=1);
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Laravel\Pulse\Support\PulseMigration;
return new class extends PulseMigration
{
public function up(): void
{
if (! $this->shouldRun()) {
return;
}
if (! Sch... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/0001_01_01_000001_create_cache_table.php | database/migrations/0001_01_01_000001_create_cache_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
if (! Schema::connection('cache_db')->hasTable('cache')) {
Schema... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/0000_00_00_000000_init_sqlite.php | database/migrations/0000_00_00_000000_init_sqlite.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
public function up(): void
{
foreach (config('database.connections') as $connectionName => $connection) {
if ($connection['driver'] === 'sql... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/2023_12_13_070228_create_blog_posts_table.php | database/migrations/2023_12_13_070228_create_blog_posts_table.php | <?php
declare(strict_types=1);
use App\Models\User;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('blog_posts', function (Blueprint $table)... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/migrations/0001_01_01_000004_create_users_table.php | database/migrations/0001_01_01_000004_create_users_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Laravel\Fortify\Features;
use Laravel\Fortify\Fortify;
return new class extends Migration
{
public function up(): void
{
Schema::create('us... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/database/seeders/DatabaseSeeder.php | database/seeders/DatabaseSeeder.php | <?php
declare(strict_types=1);
namespace Database\Seeders;
use App\Models\User;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
// ... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/terms.blade.php | resources/views/terms.blade.php | <x-guest-layout>
<div class="pt-4 bg-gray-100">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div>
<x-authentication-card-logo />
</div>
<div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-lg prose"... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/policy.blade.php | resources/views/policy.blade.php | <x-guest-layout>
<div class="pt-4 bg-gray-100">
<div class="min-h-screen flex flex-col items-center pt-6 sm:pt-0">
<div>
<x-authentication-card-logo />
</div>
<div class="w-full sm:max-w-2xl mt-6 p-6 bg-white shadow-md overflow-hidden sm:rounded-lg prose"... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/welcome.blade.php | resources/views/welcome.blade.php | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | true |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/dashboard.blade.php | resources/views/dashboard.blade.php | <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('Dashboard') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-xl sm:ro... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/navigation-menu.blade.php | resources/views/navigation-menu.blade.php | <nav x-data="{ open: false }" class="bg-white border-b border-gray-100">
<!-- Primary Navigation Menu -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex">
<!-- Logo -->
<div class="shrink-0 flex it... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/login.blade.php | resources/views/auth/login.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<x-validation-errors class="mb-4" />
@if (session('status'))
<div class="mb-4 font-medium text-sm text-green-600">
{{ session('status') }}
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/register.blade.php | resources/views/auth/register.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<x-validation-errors class="mb-4" />
<form method="POST" action="{{ route('register') }}">
@csrf
<div>
<x-label for="name" val... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/two-factor-challenge.blade.php | resources/views/auth/two-factor-challenge.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<div x-data="{ recovery: false }">
<div class="mb-4 text-sm text-gray-600" x-show="! recovery">
{{ __('Please confirm access to your account by ente... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/confirm-password.blade.php | resources/views/auth/confirm-password.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<div class="mb-4 text-sm text-gray-600">
{{ __('This is a secure area of the application. Please confirm your password before continuing.') }}
</div>
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/reset-password.blade.php | resources/views/auth/reset-password.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<x-validation-errors class="mb-4" />
<form method="POST" action="{{ route('password.update') }}">
@csrf
<input type="hidden" name="token" valu... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/forgot-password.blade.php | resources/views/auth/forgot-password.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<div class="mb-4 text-sm text-gray-600">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link th... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/auth/verify-email.blade.php | resources/views/auth/verify-email.blade.php | <x-guest-layout>
<x-authentication-card>
<x-slot name="logo">
<x-authentication-card-logo />
</x-slot>
<div class="mb-4 text-sm text-gray-600">
{{ __('Before continuing, could you verify your email address by clicking on the link we just emailed to you? If you didn\'... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
nikspyratos/toybox | https://github.com/nikspyratos/toybox/blob/be141b84550a4660c7e1a5b06b568930cd33aa1f/resources/views/vendor/pulse/dashboard.blade.php | resources/views/vendor/pulse/dashboard.blade.php | <x-pulse>
<livewire:pulse.servers cols="full" />
<livewire:pulse.usage cols="4" rows="2" />
<livewire:pulse.queues cols="4" />
<livewire:pulse.cache cols="4" />
<livewire:pulse.slow-queries cols="8" />
<livewire:pulse.exceptions cols="6" />
<livewire:pulse.slow-requests cols="6" />
... | php | MIT | be141b84550a4660c7e1a5b06b568930cd33aa1f | 2026-01-05T04:05:53.043100Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.