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 |
|---|---|---|---|---|---|---|---|---|
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Entangle/ToggleEntangled.php | legacy_tests/Browser/Alpine/Entangle/ToggleEntangled.php | <?php
namespace LegacyTests\Browser\Alpine\Entangle;
use Livewire\Component as BaseComponent;
class ToggleEntangled extends BaseComponent
{
public $active = false;
public function render()
{
return
<<<'HTML'
<div>
<div x-data="{
active: @entangle('active').live
}">
<div ... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Entangle/EntangleNestedParentComponent.php | legacy_tests/Browser/Alpine/Entangle/EntangleNestedParentComponent.php | <?php
namespace LegacyTests\Browser\Alpine\Entangle;
use Livewire\Component as BaseComponent;
class EntangleNestedParentComponent extends BaseComponent
{
public $list = [
['id' => 1, 'name' => 'test1'],
];
public function addList()
{
$this->list[] = ['id' => (count($this->list) + 1),... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Entangle/EntangleResponseCheck.php | legacy_tests/Browser/Alpine/Entangle/EntangleResponseCheck.php | <?php
namespace LegacyTests\Browser\Alpine\Entangle;
use Livewire\Component as BaseComponent;
class EntangleResponseCheck extends BaseComponent
{
public $list = [
['id' => 1],
['id' => 2],
['id' => 3],
['id' => 4],
];
public $listUpdatedByAlpine = false;
public funct... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Entangle/view.blade.php | legacy_tests/Browser/Alpine/Entangle/view.blade.php | <div>
<div x-data="{ items: @entangle('items').live }">
<button @click="items.push('baz')" dusk="button">Add Baz</button>
<div dusk="output.alpine">
<h1>JavaScript List:</h1>
<template x-for="item in items">
<div x-text="item"></div>
</template>
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Entangle/Component.php | legacy_tests/Browser/Alpine/Entangle/Component.php | <?php
namespace LegacyTests\Browser\Alpine\Entangle;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class Component extends BaseComponent
{
public $items = ['foo', 'bar'];
public $showBob = false;
public $bob = 'before';
public function render()
{
return V... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Transition/EntangleComponent.php | legacy_tests/Browser/Alpine/Transition/EntangleComponent.php | <?php
namespace LegacyTests\Browser\Alpine\Transition;
use Livewire\Component as BaseComponent;
class EntangleComponent extends BaseComponent
{
public $show = true;
public $changeDom = false;
public function render()
{
return <<<'EOD'
<div>
<div x-data="{ show: @entangle('show').live }">... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Transition/DollarSignWireComponent.php | legacy_tests/Browser/Alpine/Transition/DollarSignWireComponent.php | <?php
namespace LegacyTests\Browser\Alpine\Transition;
use Livewire\Component as BaseComponent;
class DollarSignWireComponent extends BaseComponent
{
public $show = true;
public $changeDom = false;
public function render()
{
return <<<'EOD'
<div>
<div x-data>
<button wire:click="... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Transition/Test.php | legacy_tests/Browser/Alpine/Transition/Test.php | <?php
namespace LegacyTests\Browser\Alpine\Transition;
use LegacyTests\Browser\TestCase;
class Test extends TestCase
{
public function setUp(): void
{
if (isset($_SERVER['CI'])) {
$this->markTestSkipped('These tests can be flaky during CI. Have skipped, but need to ensure we run locally b... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Alpine/Transition/EntangleDeferComponent.php | legacy_tests/Browser/Alpine/Transition/EntangleDeferComponent.php | <?php
namespace LegacyTests\Browser\Alpine\Transition;
use Livewire\Component as BaseComponent;
class EntangleDeferComponent extends BaseComponent
{
public $show = true;
public $changeDom = false;
public function render()
{
return <<<'EOD'
<div>
<div x-data="{ show: @entangle('show') }">... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SupportDateTimes/Test.php | legacy_tests/Browser/SupportDateTimes/Test.php | <?php
namespace LegacyTests\Browser\SupportDateTimes;
use Carbon\CarbonImmutable;
use DateTime;
use DateTimeImmutable;
use Illuminate\Support\Carbon;
use Livewire\Component;
use Livewire\Livewire;
use Tests\TestCase;
class Test extends TestCase
{
public function test_date_support(): void
{
Livewire::... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Replace/Test.php | legacy_tests/Browser/Replace/Test.php | <?php
namespace LegacyTests\Browser\Replace;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;
class Test extends BrowserTestCase
{
public function test_wire_replace()
{
Livewire::visit(new class extends Component {
public $foo = false;
public $bar = f... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/ComponentWithMount.php | legacy_tests/Browser/SyncHistory/ComponentWithMount.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class ComponentWithMount extends BaseComponent
{
public $renamedCompletely;
public function mount($id)
{
$this->renamedCompletely = $id;
}
public function chang... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/Step.php | legacy_tests/Browser/SyncHistory/Step.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Database\Eloquent\Model;
class Step extends Model
{
use \Sushi\Sushi;
protected $rows = [
[
'id' => 1,
'title' => 'Step 1',
],
[
'id' => 2,
'title' => 'Step 2',
],
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/Test.php | legacy_tests/Browser/SyncHistory/Test.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Laravel\Dusk\Browser;
use LegacyTests\Browser\TestCase;
use LegacyTests\Browser\DataBinding\Defer\Component as DeferComponent;
class Test extends TestCase
{
function setUp(): void
{
parent::setUp();
$this->markTestSkipped(); // Removed thi... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/ComponentWithAlpineEntangle.php | legacy_tests/Browser/SyncHistory/ComponentWithAlpineEntangle.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Livewire\Component;
class ComponentWithAlpineEntangle extends Component
{
public $page = 1;
public $foo = 'bar';
protected $queryString = ['page'];
public function nextPage() { $this->page++; }
public function render()
{
return <... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/SingleRadioComponent.php | legacy_tests/Browser/SyncHistory/SingleRadioComponent.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class SingleRadioComponent extends BaseComponent
{
public $foo;
protected $queryString = ['foo'];
public function render()
{
return View::file(__DIR__.'/single-radi... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/single-radio-component.blade.php | legacy_tests/Browser/SyncHistory/single-radio-component.blade.php | <div>
<input dusk="foo.bar" type="radio" wire:model="foo" value="bar" name="foo">
<input dusk="foo.baz" type="radio" wire:model="foo" value="baz" name="foo">
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/view-without-subcomponent.blade.php | legacy_tests/Browser/SyncHistory/view-without-subcomponent.blade.php | <div>
<dl>
<dt>Component ID</dt>
<dd>{{ $id }}</dd>
@foreach (Tests\Browser\SyncHistory\Step::all() as $each_step)
<dt>{{ $each_step->title }}</dt>
<dd>
@if($each_step->is($step))
<button
disabled
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/child.blade.php | legacy_tests/Browser/SyncHistory/child.blade.php | <div>
<hr />
<dt>DarkMode</dt>
<dd>
Dark mode is currently {{ $darkmode ? 'enabled' : 'disabled' }}.
<button dusk="toggle-darkmode" wire:click="toggleDarkmode">Toggle</button>
</dd>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/ChildComponent.php | legacy_tests/Browser/SyncHistory/ChildComponent.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class ChildComponent extends BaseComponent
{
public $darkmode = false;
protected $queryString = ['darkmode'];
public function toggleDarkmode()
{
$this->darkmode = ! ... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/ComponentWithoutQueryString.php | legacy_tests/Browser/SyncHistory/ComponentWithoutQueryString.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class ComponentWithoutQueryString extends BaseComponent
{
public $step;
public function mount(Step $step)
{
$this->step = $step;
}
public function setStep($id)
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/component-with-mount.blade.php | legacy_tests/Browser/SyncHistory/component-with-mount.blade.php | <div>
<span dusk="output">{{ $renamedCompletely }}</span>
<button wire:click="changeId" dusk="button">Change ID</button>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/ComponentWithOptionalParameter.php | legacy_tests/Browser/SyncHistory/ComponentWithOptionalParameter.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class ComponentWithOptionalParameter extends BaseComponent
{
public $step;
public function mount(Step $step)
{
$this->step = $step;
}
public function setStep($i... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/view.blade.php | legacy_tests/Browser/SyncHistory/view.blade.php | <div>
<dl>
<dt>Component ID</dt>
<dd>{{ $id }}</dd>
@foreach (Tests\Browser\SyncHistory\Step::all() as $each_step)
<dt>{{ $each_step->title }}</dt>
<dd>
@if($each_step->is($step))
<button
disabled
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/SyncHistory/Component.php | legacy_tests/Browser/SyncHistory/Component.php | <?php
namespace LegacyTests\Browser\SyncHistory;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class Component extends BaseComponent
{
public $step;
public $showHelp = false;
protected $queryString = ['showHelp'];
public function mount(Step $step)
{
$this... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Offline/Test.php | legacy_tests/Browser/Offline/Test.php | <?php
namespace LegacyTests\Browser\Offline;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;
class Test extends BrowserTestCase
{
public function test_wire_offline()
{
Livewire::visit(new class extends Component
{
public function render()
{
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Extensions/Test.php | legacy_tests/Browser/Extensions/Test.php | <?php
namespace LegacyTests\Browser\Extensions;
use Laravel\Dusk\Browser;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;
class Test extends BrowserTestCase
{
public function test_custom_wire_directive(): void
{
Livewire::visit(new class extends Component {
publi... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/Test.php | legacy_tests/Browser/Events/Test.php | <?php
namespace LegacyTests\Browser\Events;
use LegacyTests\Browser\TestCase;
class Test extends TestCase
{
public function test()
{
$this->browse(function ($browser) {
$this->visitLivewireComponent($browser, [Component::class, 'component-a' => NestedComponentA::class, 'component-b' => Ne... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/NestedComponentA.php | legacy_tests/Browser/Events/NestedComponentA.php | <?php
namespace LegacyTests\Browser\Events;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class NestedComponentA extends BaseComponent
{
protected $listeners = ['foo'];
public $lastEvent = '';
public function foo($value)
{
$this->lastEvent = $value;
}
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/nested-b.blade.php | legacy_tests/Browser/Events/nested-b.blade.php | <div>
<span dusk="lastEventForChildB">{{ $this->lastEvent }}</span>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/NestedComponentB.php | legacy_tests/Browser/Events/NestedComponentB.php | <?php
namespace LegacyTests\Browser\Events;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class NestedComponentB extends BaseComponent
{
protected $listeners = ['foo'];
public $lastEvent = '';
public function foo($value)
{
$this->lastEvent = $value;
}
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/nested-a.blade.php | legacy_tests/Browser/Events/nested-a.blade.php | <div id="nested-root-a">
<span dusk="lastEventForChildA">{{ $this->lastEvent }}</span>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/view.blade.php | legacy_tests/Browser/Events/view.blade.php | <div>
<span dusk="lastEventForParent">{{ $this->lastEvent }}</span>
<button wire:click="$dispatch('foo', { value: 'baz' })" dusk="dispatch.baz"></button>
<button wire:click="$dispatch('foo', { value: 'bob' })" dusk="dispatch.bob"></button>
<button wire:click="$dispatchSelf('foo', { value: 'law' })" d... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Events/Component.php | legacy_tests/Browser/Events/Component.php | <?php
namespace LegacyTests\Browser\Events;
use Illuminate\Support\Facades\View;
use Livewire\Component as BaseComponent;
class Component extends BaseComponent
{
protected $listeners = ['foo'];
public $lastEvent = '';
public function foo($value)
{
$this->lastEvent = $value;
}
publi... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Browser/Init/Test.php | legacy_tests/Browser/Init/Test.php | <?php
namespace LegacyTests\Browser\Init;
use Livewire\Component;
use Livewire\Livewire;
use Tests\BrowserTestCase;
class Test extends BrowserTestCase
{
public function test_wire_init(): void
{
Livewire::visit(new class extends Component {
public $output = '';
public function... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/TestCase.php | legacy_tests/Unit/TestCase.php | <?php
namespace LegacyTests\Unit;
use Orchestra\Testbench\TestCase as BaseTestCase;
use Livewire\LivewireServiceProvider;
use Livewire\Livewire;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Artisan;
class TestCase extends BaseTestCase
{
public function setUp(): void
{
$this->af... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-session-flash.blade.php | legacy_tests/Unit/views/show-session-flash.blade.php | <div>
@if (session('status'))
<div class="alert-success mb-" role="alert">
{{ session('status') }}
</div>
@endif
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-children.blade.php | legacy_tests/Unit/views/show-children.blade.php | <div>
@foreach ($children as $child)
@livewire('child', ['name' => $child], key($child))
@endforeach
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/dump-errors.blade.php | legacy_tests/Unit/views/dump-errors.blade.php | <div>
@json($errors->toArray())
@error('test') @enderror
@component('dump-errors-nested-component')@endcomponent
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/model-arrow-title-view.blade.php | legacy_tests/Unit/views/model-arrow-title-view.blade.php | <div>
@if ($model)
{{ $this->model->title }}
@endif
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/isset-foo-bar.blade.php | legacy_tests/Unit/views/isset-foo-bar.blade.php | <div>
{{ var_dump(isset($this->foo_bar)) }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/var-dump-foo-bar.blade.php | legacy_tests/Unit/views/var-dump-foo-bar.blade.php | <div>
{{ var_dump($this->foo_bar) }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/null-view.blade.php | legacy_tests/Unit/views/null-view.blade.php | <div></div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/execute-callback.blade.php | legacy_tests/Unit/views/execute-callback.blade.php | <div>
<?php $callback(); ?>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-html.blade.php | legacy_tests/Unit/views/show-html.blade.php | <div><p style="display: none">Hello HTML</p></div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/this-keyword.blade.php | legacy_tests/Unit/views/this-keyword.blade.php | <div>
{{ get_class($this) }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/var-dump-foo.blade.php | legacy_tests/Unit/views/var-dump-foo.blade.php | <div>
{{ var_dump($this->foo) }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/isset-foo.blade.php | legacy_tests/Unit/views/isset-foo.blade.php | <div>
{{ var_dump(isset($this->foo)) }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/assets-directive.blade.php | legacy_tests/Unit/views/assets-directive.blade.php | @livewireStyles
@livewireScripts($options)
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/file-download-component.blade.php | legacy_tests/Unit/views/file-download-component.blade.php | <div>
@if($downloaded)
Thanks!
@endif
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/fillable-view.blade.php | legacy_tests/Unit/views/fillable-view.blade.php | <div>
{{ $publicProperty }}
{{ $protectedProperty }}
{{ $privateProperty }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-property-value.blade.php | legacy_tests/Unit/views/show-property-value.blade.php | <span>{{ $message }}</span>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/entangle.blade.php | legacy_tests/Unit/views/entangle.blade.php |
<x-input wire:model.defer="foo"/>
<x-input wire:model="bar"/>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/wireables.blade.php | legacy_tests/Unit/views/wireables.blade.php | <div>
<div>
@if ($wireable)
{{ $wireable->message }}
@if ($wireable->embeddedWireable ?? false)
{{ $wireable->embeddedWireable->message }}
@endif
@endif
</div>
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/load-balancer-parent.blade.php | legacy_tests/Unit/views/load-balancer-parent.blade.php | <div>
Parent
@livewire('child', ['number' => 1])
@livewire('child', ['number' => 2])
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-name.blade.php | legacy_tests/Unit/views/show-name.blade.php | <!-- Test comment <div>Commented out code</div> -->
<span>{{ $name ?? '' }}</span>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/attribute-bag-macros.blade.php | legacy_tests/Unit/views/attribute-bag-macros.blade.php | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false | |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-child.blade.php | legacy_tests/Unit/views/show-child.blade.php | <div>
@livewire('child', $child)
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/foreach-models-arrow-title-view.blade.php | legacy_tests/Unit/views/foreach-models-arrow-title-view.blade.php | <div>
@foreach ($models as $model)
{{ $model->title }}
@endforeach
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/show-name-with-this.blade.php | legacy_tests/Unit/views/show-name-with-this.blade.php | <span>{{ $this->name }}</span>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/dump-errors-nested-component.blade.php | legacy_tests/Unit/views/dump-errors-nested-component.blade.php | <div>
@if (isset($errors) && $errors->has('bar')) sharedError:{{ $errors->first('bar') }} @endif
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/load-balancer-child.blade.php | legacy_tests/Unit/views/load-balancer-child.blade.php | <div>
child-content-{{ $number }}
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/render-component.blade.php | legacy_tests/Unit/views/render-component.blade.php | <div>
@isset($params)
@livewire($component, $params)
@else
@livewire($component)
@endisset
</div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/rootless-view.blade.php | legacy_tests/Unit/views/rootless-view.blade.php | This all you got?!
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/components/input.blade.php | legacy_tests/Unit/views/components/input.blade.php |
<div x-data="{ foo: @entangle($attributes->wire('model')) }"></div>
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-extends.blade.php | legacy_tests/Unit/views/layouts/app-extends.blade.php | @yield('content')
{{ $bar }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/data-test.blade.php | legacy_tests/Unit/views/layouts/data-test.blade.php | {{ $title }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-custom-slot.blade.php | legacy_tests/Unit/views/layouts/app-custom-slot.blade.php | {{ $main }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-anonymous-component.blade.php | legacy_tests/Unit/views/layouts/app-anonymous-component.blade.php | @props([
'foo' => 'bar',
])
<div {{ $attributes->merge(['id' => 'foo']) }}>
{{ $foo }}
</div>
{{ $slot }}
@isset($bar)
{{ $bar }}
@endisset
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-anonymous-component-with-required-prop.blade.php | legacy_tests/Unit/views/layouts/app-anonymous-component-with-required-prop.blade.php | @props([
'foo' => 'bar',
'bar',
])
<div {{$attributes}}>
{{ $foo }}
</div>
{{ $slot }}
{{ $bar }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-with-bar.blade.php | legacy_tests/Unit/views/layouts/app-with-bar.blade.php | {{ $bar }}
{{ $slot }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-custom-section.blade.php | legacy_tests/Unit/views/layouts/app-custom-section.blade.php | @yield('body')
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-from-class-component.blade.php | legacy_tests/Unit/views/layouts/app-from-class-component.blade.php | @yield('content')
{{ $slot }}
<div {{ $attributes->merge(['id' => 'foo']) }}>
{{ $foo }}
</div>
@isset($bar)
{{ $bar }}
@endisset
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app-with-baz-hardcoded.blade.php | legacy_tests/Unit/views/layouts/app-with-baz-hardcoded.blade.php | baz
{{ $slot }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/legacy_tests/Unit/views/layouts/app.blade.php | legacy_tests/Unit/views/layouts/app.blade.php | @yield('content')
{{ $slot }}{{ $customParam ?? '' }}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/LivewireServiceProvider.php | src/LivewireServiceProvider.php | <?php
namespace Livewire;
use Livewire\Finder\Finder;
use Livewire\Factory\Factory;
use Livewire\Compiler\Compiler;
use Illuminate\Foundation\Console\AboutCommand;
use Composer\InstalledVersions;
use Livewire\Compiler\CacheManager;
class LivewireServiceProvider extends \Illuminate\Support\ServiceProvider
{
public... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/ComponentHookRegistry.php | src/ComponentHookRegistry.php | <?php
namespace Livewire;
use WeakMap;
use Livewire\Drawer\Utils;
class ComponentHookRegistry
{
protected static $components;
protected static $componentHooks = [];
static function register($hook)
{
if (method_exists($hook, 'provide')) $hook::provide();
if (in_array($hook, static::... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/LivewireManager.php | src/LivewireManager.php | <?php
namespace Livewire;
use Livewire\Mechanisms\PersistentMiddleware\PersistentMiddleware;
use Livewire\Mechanisms\HandleRequests\HandleRequests;
use Livewire\Mechanisms\HandleComponents\HandleComponents;
use Livewire\Mechanisms\HandleComponents\ComponentContext;
use Livewire\Mechanisms\FrontendAssets\FrontendAsset... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attribute.php | src/Attribute.php | <?php
namespace Livewire;
use Livewire\Features\SupportAttributes\Attribute as BaseAttribute;
abstract class Attribute extends BaseAttribute
{
//
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/WithFileUploads.php | src/WithFileUploads.php | <?php
namespace Livewire;
use Livewire\Features\SupportFileUploads\WithFileUploads as BaseWithFileUploads;
trait WithFileUploads
{
use BaseWithFileUploads;
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Wireable.php | src/Wireable.php | <?php
namespace Livewire;
interface Wireable
{
public function toLivewire();
public static function fromLivewire($value);
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/helpers.php | src/helpers.php | <?php
namespace Livewire;
use ReflectionClass;
use Illuminate\Support\Str;
function str($string = null)
{
if (is_null($string)) return new class {
public function __call($method, $params) {
return Str::$method(...$params);
}
};
return Str::of($string);
}
function invade($obj... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Transparency.php | src/Transparency.php | <?php
namespace Livewire;
use Traversable;
trait Transparency
{
public $target;
function __toString()
{
return (string) $this->target;
}
function offsetExists(mixed $offset): bool
{
return isset($this->target[$offset]);
}
function offsetGet(mixed $offset): mixed
... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/ComponentHook.php | src/ComponentHook.php | <?php
namespace Livewire;
abstract class ComponentHook
{
protected $component;
function setComponent($component)
{
$this->component = $component;
}
function callBoot(...$params) {
if (method_exists($this, 'boot')) $this->boot(...$params);
}
function callMount(...$params)... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/WireDirective.php | src/WireDirective.php | <?php
namespace Livewire;
use Stringable;
use Illuminate\View\ComponentAttributeBag;
use Illuminate\Contracts\Support\Htmlable;
class WireDirective implements Htmlable, Stringable
{
public function __construct(
public $name,
public $directive,
public $value,
) {}
public function ... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Livewire.php | src/Livewire.php | <?php
namespace Livewire;
use Illuminate\Support\Facades\Facade;
/**
* @method static void component($name, $class = null)
* @method static void directive($name, $callback)
* @method static \Livewire\Component new($name, $id = null)
* @method static string mount($name, $params = [], $key = null)
* @method stati... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/ImplicitlyBoundMethod.php | src/ImplicitlyBoundMethod.php | <?php
namespace Livewire;
use Illuminate\Container\BoundMethod;
use Illuminate\Contracts\Routing\UrlRoutable as ImplicitlyBindable;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use ReflectionClass;
use ReflectionNamedType;
class ImplicitlyBoundMethod extends BoundMethod
{
protected static function ge... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/WithoutUrlPagination.php | src/WithoutUrlPagination.php | <?php
namespace Livewire;
use Livewire\Features\SupportPagination\WithoutUrlPagination as BaseWithoutUrlPagination;
trait WithoutUrlPagination
{
use BaseWithoutUrlPagination;
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Wrapped.php | src/Wrapped.php | <?php
namespace Livewire;
class Wrapped
{
protected $fallback;
function __construct(public $target) {}
function withFallback($fallback)
{
$this->fallback = $fallback;
return $this;
}
function __call($method, $params)
{
if (! method_exists($this->target, $method)... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Pipe.php | src/Pipe.php | <?php
namespace Livewire;
class Pipe implements \Stringable, \ArrayAccess, \IteratorAggregate
{
use Transparency;
function __construct($target)
{
$this->target = $target;
}
function __invoke(...$params) {
if (empty($params)) return $this->target;
[ $before, $through, $af... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Form.php | src/Form.php | <?php
namespace Livewire;
use Livewire\Features\SupportFormObjects\Form as BaseForm;
class Form extends BaseForm
{
//
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/EventBus.php | src/EventBus.php | <?php
declare(strict_types=1);
namespace Livewire;
class EventBus
{
protected array $listeners = [];
protected array $listenersAfter = [];
protected array $listenersBefore = [];
public function boot(): void
{
app()->singleton($this::class);
}
public function on(string $name, cal... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/WithPagination.php | src/WithPagination.php | <?php
namespace Livewire;
use Livewire\Features\SupportPagination\HandlesPagination;
trait WithPagination
{
use HandlesPagination;
}
| php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Component.php | src/Component.php | <?php
namespace Livewire;
use Livewire\Features\SupportValidation\HandlesValidation;
use Livewire\Features\SupportStreaming\HandlesStreaming;
use Livewire\Features\SupportSlots\HandlesSlots;
use Livewire\Features\SupportReleaseTokens\HandlesReleaseTokens;
use Livewire\Features\SupportRedirects\HandlesRedirects;
use L... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Compiler.php | src/Compiler/Compiler.php | <?php
namespace Livewire\Compiler;
use Livewire\Compiler\Parser\SingleFileParser;
use Livewire\Compiler\Parser\MultiFileParser;
class Compiler
{
protected $prepareViewsForCompilationUsing = [];
public function __construct(
public CacheManager $cacheManager,
) {}
public function compile(stri... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/UnitTest.php | src/Compiler/UnitTest.php | <?php
namespace Livewire\Compiler;
use Livewire\Component;
use Livewire\Compiler\Parser\SingleFileParser;
use Livewire\Compiler\Parser\MultiFileParser;
use Livewire\Compiler\Compiler;
use Livewire\Compiler\CacheManager;
use Illuminate\Support\Facades\File;
use PHPUnit\Framework\Attributes\DataProvider;
class UnitTes... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/CacheManager.php | src/Compiler/CacheManager.php | <?php
namespace Livewire\Compiler;
use Illuminate\Support\Facades\File;
class CacheManager
{
public function __construct(
public string $cacheDirectory,
) {}
public function hasBeenCompiled(string $sourcePath): bool
{
$classPath = $this->getClassPath($sourcePath);
return fil... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/sfc-component-with-assets-and-script-directives.blade.php | src/Compiler/Fixtures/sfc-component-with-assets-and-script-directives.blade.php | <?php
use Livewire\Component;
new class extends Component
{
//
};
?>
<div>
{{-- An unexamined life is not worth living. - Socrates --}}
</div>
@assets
<script>
console.log('This should NOT be extracted - it is inside @assets');
</script>
@endassets
@script
<script>
console.log('This should NOT be e... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/sfc-component-with-imports.blade.php | src/Compiler/Fixtures/sfc-component-with-imports.blade.php | <?php
use Livewire\Component;
new class extends Component
{
public $message = 'Hello World';
};
?>
<div>{{ $message }}</div>
<script>
import { Alpine } from 'alpinejs'
import { debounce } from './utils'
console.log('Component initialized');
Alpine.data('myComponent', () => ({
init() {
debounce(() =... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
livewire/livewire | https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/sfc-component-with-nested-script.blade.php | src/Compiler/Fixtures/sfc-component-with-nested-script.blade.php | <?php
use Livewire\Component;
new class extends Component
{
public $message = 'Hello World';
};
?>
<div>
{{ $message }}
<script>
console.log('This should NOT be extracted - it is nested inside div');
</script>
</div>
<script>
console.log('This SHOULD be extracted - it is at root level')... | php | MIT | f2f58e728b8e834780be780ee727a85e9513d56b | 2026-01-04T15:02:34.292445Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.