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/src/Compiler/Fixtures/sfc-component.blade.php
src/Compiler/Fixtures/sfc-component.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; }; ?> <div>{{ $message }}</div> <script> console.log('Hello from script'); </script>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/sfc-component-without-trailing-semicolon.blade.php
src/Compiler/Fixtures/sfc-component-without-trailing-semicolon.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; } ?> <div>{{ $message }}</div> <script> console.log('Hello from script'); </script>
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-blade-script.blade.php
src/Compiler/Fixtures/sfc-component-with-blade-script.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; }; ?> <div>{{ $message }}</div> @script <script> console.log('Hello from script'); </script> @endscript
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-placeholder-in-island.blade.php
src/Compiler/Fixtures/sfc-component-with-placeholder-in-island.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; }; ?> <div> @island(lazy: true) @placeholder <div>Loading...</div> @endplaceholder @endisland {{ $message }} </div> <script> console.log('Hello from script'); </script>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/test.php
src/Compiler/Fixtures/test.php
<?php use Livewire\Component; return new class extends Component { public $message = 'Hello World'; };
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-placeholder.blade.php
src/Compiler/Fixtures/sfc-component-with-placeholder.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; }; ?> @placeholder <div>Loading...</div> @endplaceholder <div>{{ $message }}</div> <script> console.log('Hello from script'); </script>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/mfc-component/mfc-component.blade.php
src/Compiler/Fixtures/mfc-component/mfc-component.blade.php
<div>{{ $message }}</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Fixtures/mfc-component/mfc-component.php
src/Compiler/Fixtures/mfc-component/mfc-component.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello World'; };
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Parser/SingleFileParser.php
src/Compiler/Parser/SingleFileParser.php
<?php namespace Livewire\Compiler\Parser; use Livewire\Compiler\Compiler; class SingleFileParser extends Parser { public function __construct( public string $path, public string $contents, public ?string $scriptPortion, public string $classPortion, public ?string $placehol...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Parser/MultiFileParser.php
src/Compiler/Parser/MultiFileParser.php
<?php namespace Livewire\Compiler\Parser; use Livewire\Compiler\Compiler; class MultiFileParser extends Parser { public function __construct( public string $path, public ?string $scriptPortion, public string $classPortion, public string $viewPortion, public ?string $placeh...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Compiler/Parser/Parser.php
src/Compiler/Parser/Parser.php
<?php namespace Livewire\Compiler\Parser; class Parser { public static function extractPlaceholderPortion(string &$contents): ?string { $islandsPattern = '/(@'.'island.*?@endisland)/s'; $replacements = []; $contents = preg_replace_callback($islandsPattern, function($matches) use (&$r...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/DataStore.php
src/Mechanisms/DataStore.php
<?php namespace Livewire\Mechanisms; use WeakMap; class DataStore extends Mechanism { protected $lookup; function __construct() { $this->lookup = new WeakMap; } function set($instance, $key, $value) { if (! isset($this->lookup[$instance])) { $this->lookup[$instan...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Mechanism.php
src/Mechanisms/Mechanism.php
<?php namespace Livewire\Mechanisms; abstract class Mechanism { function register() { app()->instance(static::class, $this); } function boot() { // } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/RenderComponent.php
src/Mechanisms/RenderComponent.php
<?php namespace Livewire\Mechanisms; use Illuminate\Support\Facades\Blade; class RenderComponent extends Mechanism { function boot() { Blade::directive('livewire', [static::class, 'livewire']); } public static function livewire($expression) { $key = null; $slots = null; ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/ClearCachedFiles.php
src/Mechanisms/ClearCachedFiles.php
<?php namespace Livewire\Mechanisms; class ClearCachedFiles extends Mechanism { function boot() { // Hook into Laravel's view:clear command to also clear Livewire compiled files if (app()->runningInConsole()) { app('events')->listen(\Illuminate\Console\Events\CommandFinished::class...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/ComponentContext.php
src/Mechanisms/HandleComponents/ComponentContext.php
<?php namespace Livewire\Mechanisms\HandleComponents; use AllowDynamicProperties; #[AllowDynamicProperties] class ComponentContext { public $effects = []; public $memo = []; public function __construct( public $component, public $mounting = false, ) {} public function isMounting...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Checksum.php
src/Mechanisms/HandleComponents/Checksum.php
<?php namespace Livewire\Mechanisms\HandleComponents; use Illuminate\Support\Facades\RateLimiter; use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; use function Livewire\trigger; class Checksum { protected static $maxFailures = 10; protected static $decaySeconds = 600; // 10 minutes ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/BaseRenderless.php
src/Mechanisms/HandleComponents/BaseRenderless.php
<?php namespace Livewire\Mechanisms\HandleComponents; use Livewire\Features\SupportAttributes\Attribute as LivewireAttribute; use function Livewire\store; #[\Attribute] class BaseRenderless extends LivewireAttribute { function call() { store($this->component)->set('skipIslandsRender', true); ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/BrowserTest.php
src/Mechanisms/HandleComponents/BrowserTest.php
<?php namespace Livewire\Mechanisms\HandleComponents; use Livewire\Attributes\Computed; use Livewire\Livewire; class BrowserTest extends \Tests\BrowserTestCase { public function test_corrupt_component_payload_exception_is_no_longer_thrown_from_data_incompatible_with_javascript() { Livewire::visit(new...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/ViewContext.php
src/Mechanisms/HandleComponents/ViewContext.php
<?php namespace Livewire\Mechanisms\HandleComponents; use function Livewire\invade; class ViewContext { function __construct( public $slots = [], public $pushes = [], public $prepends = [], public $sections = [], ) {} function extractFromEnvironment($__env) { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/CorruptComponentPayloadException.php
src/Mechanisms/HandleComponents/CorruptComponentPayloadException.php
<?php namespace Livewire\Mechanisms\HandleComponents; use Livewire\Exceptions\BypassViewHandler; class CorruptComponentPayloadException extends \Exception { use BypassViewHandler; public function __construct() { parent::__construct( "Livewire encountered corrupt data when trying to h...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/UnitTest.php
src/Mechanisms/HandleComponents/UnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents; use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Route; use Illuminate\Support\Stringable; use Livewire\Component; use Livewire\Form; use Livewire\Livewire; use Tests\TestComponent; class UnitTest extends \Tests\TestCase { public function test_it...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/SecurityPolicy.php
src/Mechanisms/HandleComponents/SecurityPolicy.php
<?php namespace Livewire\Mechanisms\HandleComponents; class SecurityPolicy { /** * Classes that should never be instantiated by Livewire synthesizers. * These are known-dangerous classes that could be exploited if an attacker * somehow bypassed the checksum protection. */ protected static ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/HandleComponents.php
src/Mechanisms/HandleComponents/HandleComponents.php
<?php namespace Livewire\Mechanisms\HandleComponents; use function Livewire\{store, trigger, wrap }; use ReflectionUnionType; use Livewire\Mechanisms\Mechanism; use Livewire\Mechanisms\HandleComponents\Synthesizers\Synth; use Livewire\Exceptions\PublicPropertyNotFoundException; use Livewire\Exceptions\MethodNotFoundE...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/ArraySynth.php
src/Mechanisms/HandleComponents/Synthesizers/ArraySynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; class ArraySynth extends Synth { public static $key = 'arr'; static function match($target) { return is_array($target); } function dehydrate($target, $dehydrateChild) { foreach ($target as $key => $child) { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/CollectionSynth.php
src/Mechanisms/HandleComponents/Synthesizers/CollectionSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; use Illuminate\Support\Collection; class CollectionSynth extends ArraySynth { public static $key = 'clctn'; static function match($target) { return $target instanceof Collection; } function dehydrate($target, $dehydrateChild...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Synth.php
src/Mechanisms/HandleComponents/Synthesizers/Synth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; use Livewire\Mechanisms\HandleComponents\ComponentContext; abstract class Synth { function __construct( public ComponentContext $context, public $path, ) {} public static function getKey() { throw_unless( ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/IntSynth.php
src/Mechanisms/HandleComponents/Synthesizers/IntSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; // This synth exists solely to capture empty strings being set to integer properties... class IntSynth extends Synth { public static $key = 'int'; static function match($target) { return false; } static function matchByType($...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/StringableSynth.php
src/Mechanisms/HandleComponents/Synthesizers/StringableSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; use Illuminate\Support\Stringable; class StringableSynth extends Synth { public static $key = 'str'; static function match($target) { return $target instanceof Stringable; } function dehydrate($target) { return [$tar...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/FloatSynth.php
src/Mechanisms/HandleComponents/Synthesizers/FloatSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; // This synth exists solely to capture empty strings being set to float properties... class FloatSynth extends Synth { public static $key = 'float'; static function match($target) { return false; } static function matchBy...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/StdClassSynth.php
src/Mechanisms/HandleComponents/Synthesizers/StdClassSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; use stdClass; class StdClassSynth extends Synth { public static $key = 'std'; static function match($target) { return $target instanceof stdClass; } function dehydrate($target, $dehydrateChild) { $data = (array) $tar...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/CarbonSynth.php
src/Mechanisms/HandleComponents/Synthesizers/CarbonSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; use Carbon\CarbonImmutable; use DateTime; use Carbon\Carbon; use DateTimeImmutable; use DateTimeInterface; class CarbonSynth extends Synth { public static $types = [ 'native' => DateTime::class, 'nativeImmutable' => DateTimeImmuta...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/EnumSynth.php
src/Mechanisms/HandleComponents/Synthesizers/EnumSynth.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers; class EnumSynth extends Synth { public static $key = 'enm'; static function match($target) { return is_object($target) && is_subclass_of($target, 'BackedEnum'); } static function matchByType($type) { return is_subclas...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/IntSynthUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/IntSynthUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Livewire\Livewire; use Tests\TestComponent; class IntSynthUnitTest extends \Tests\TestCase { public function test_null_value_hydrated_returns_null() { Livewire::test(ComponentWithNullableInt::class) ->set('intFie...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/DataBindingUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/DataBindingUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Tests\TestComponent; use Livewire\Livewire; class DataBindingUnitTest extends \Tests\TestCase { public function test_update_component_data() { $component = Livewire::test(DataBindingStub::class); $component->set('fo...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/CarbonSynthUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/CarbonSynthUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Carbon\Carbon; use Carbon\CarbonImmutable; use Livewire\Livewire; use Tests\TestComponent; class CarbonSynthUnitTest extends \Tests\TestCase { public function test_public_carbon_properties_can_be_cast() { $testable = Livewir...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/EnumUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/EnumUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Illuminate\Validation\Rule; use Livewire\Livewire; use Tests\TestComponent; use ValueError; class EnumUnitTest extends \Tests\TestCase { public function test_public_properties_can_be_cast() { Livewire::test(ComponentWithPubl...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/FloatSynthUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/FloatSynthUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Livewire\Form; use Livewire\Livewire; use Tests\TestComponent; class FloatSynthUnitTest extends \Tests\TestCase { public function test_hydrated_component_with_null_value_returns_null() { Livewire::test(ComponentWithNullableF...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleComponents/Synthesizers/Tests/TypedPropertiesUnitTest.php
src/Mechanisms/HandleComponents/Synthesizers/Tests/TypedPropertiesUnitTest.php
<?php namespace Livewire\Mechanisms\HandleComponents\Synthesizers\Tests; use Livewire\Component; use Livewire\Livewire; class TypedPropertiesUnitTest extends \Tests\TestCase { public function test_can_set_uninitialized_typed_properties() { $testMessage = 'hello world'; Livewire::test(Compone...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/CompileLivewireTags/LivewireTagPrecompiler.php
src/Mechanisms/CompileLivewireTags/LivewireTagPrecompiler.php
<?php namespace Livewire\Mechanisms\CompileLivewireTags; use Illuminate\View\Compilers\ComponentTagCompiler; use Livewire\Drawer\Regexes; use Livewire\Exceptions\ComponentAttributeMissingOnDynamicComponentException; class LivewireTagPrecompiler extends ComponentTagCompiler { public function __invoke($value) ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/CompileLivewireTags/CompileLivewireTags.php
src/Mechanisms/CompileLivewireTags/CompileLivewireTags.php
<?php namespace Livewire\Mechanisms\CompileLivewireTags; use Livewire\Mechanisms\Mechanism; class CompileLivewireTags extends Mechanism { public function boot() { app('blade.compiler')->precompiler(new LivewireTagPrecompiler); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/CompileLivewireTags/UnitTest.php
src/Mechanisms/CompileLivewireTags/UnitTest.php
<?php namespace Livewire\Mechanisms\CompileLivewireTags; use Illuminate\Support\Facades\Blade; use Livewire\Livewire; class UnitTest extends \Tests\TestCase { public function test_can_compile_livewire_self_closing_tags() { Livewire::component('foo', new class extends \Livewire\Component { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/PersistentMiddleware/BrowserTest.php
src/Mechanisms/PersistentMiddleware/BrowserTest.php
<?php namespace Livewire\Mechanisms\PersistentMiddleware; use Closure; use Illuminate\Database\Eloquent\Model; use Illuminate\Foundation\Auth\User as AuthUser; use Illuminate\Foundation\Http\Kernel; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; use Illuminate...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/PersistentMiddleware/UnitTest.php
src/Mechanisms/PersistentMiddleware/UnitTest.php
<?php namespace Livewire\Mechanisms\PersistentMiddleware; use Illuminate\Support\Facades\Facade; use Livewire\Livewire; class UnitTest extends \LegacyTests\Unit\TestCase { public function test_it_does_not_have_persistent_middleware_memory_leak_when_adding_middleware() { $base = Livewire::getPersisten...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/PersistentMiddleware/PersistentMiddleware.php
src/Mechanisms/PersistentMiddleware/PersistentMiddleware.php
<?php namespace Livewire\Mechanisms\PersistentMiddleware; use Illuminate\Routing\Router; use Livewire\Mechanisms\Mechanism; use function Livewire\on; use Illuminate\Support\Str; use Livewire\Drawer\Utils; use Livewire\Mechanisms\HandleRequests\HandleRequests; class PersistentMiddleware extends Mechanism { protec...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/FrontendAssets/FrontendAssets.php
src/Mechanisms/FrontendAssets/FrontendAssets.php
<?php namespace Livewire\Mechanisms\FrontendAssets; use Livewire\Drawer\Utils; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Blade; use Livewire\Mechanisms\Mechanism; use Livewire\Mechanisms\HandleRequests\EndpointResolver; use function Livewire\on; class FrontendAssets extends Mechanism { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/FrontendAssets/BrowserTest.php
src/Mechanisms/FrontendAssets/BrowserTest.php
<?php namespace Livewire\Mechanisms\FrontendAssets; use Illuminate\Support\Facades\Route; use Livewire\Livewire; use Tests\TestComponent; class BrowserTest extends \Tests\BrowserTestCase { public function test_can_register_a_custom_javascript_endpoint() { Livewire::setScriptRoute(function ($handle) {...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/FrontendAssets/UnitTest.php
src/Mechanisms/FrontendAssets/UnitTest.php
<?php namespace Livewire\Mechanisms\FrontendAssets; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Route; use Livewire\Livewire; use Livewire\LivewireManager; use function Livewire\trigger; class UnitTest extends \Tests\TestCase { public function setU...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleRequests/HandleRequests.php
src/Mechanisms/HandleRequests/HandleRequests.php
<?php namespace Livewire\Mechanisms\HandleRequests; use Illuminate\Support\Facades\Route; use Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets; use Livewire\Mechanisms\HandleRequests\EndpointResolver; use Livewire\Exceptions\PayloadTooLargeException; use Livewire\Exceptions\TooManyComponentsException...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleRequests/BrowserTest.php
src/Mechanisms/HandleRequests/BrowserTest.php
<?php namespace Livewire\Mechanisms\HandleRequests; use Illuminate\Support\Facades\Route; use Livewire\Livewire; class BrowserTest extends \Tests\BrowserTestCase { public function test_can_register_a_custom_update_endpoint() { Livewire::setUpdateRoute(function ($handle) { return Route::po...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleRequests/UnitTest.php
src/Mechanisms/HandleRequests/UnitTest.php
<?php use Illuminate\Http\Request; use Livewire\Mechanisms\HandleRequests\HandleRequests; use Tests\TestCase; class UnitTest extends TestCase { public function test_livewire_can_run_handle_request_without_components_on_payload(): void { $handleRequestsInstance = new HandleRequests(); $request ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/HandleRequests/EndpointResolver.php
src/Mechanisms/HandleRequests/EndpointResolver.php
<?php namespace Livewire\Mechanisms\HandleRequests; class EndpointResolver { /** * Get the base path prefix for all Livewire endpoints. * * Uses APP_KEY to generate a unique prefix per installation, * making it harder to target Livewire apps with universal scanners. */ public static f...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/DirectlyAssignComponentParametersAsPropertiesUnitTest.php
src/Mechanisms/Tests/DirectlyAssignComponentParametersAsPropertiesUnitTest.php
<?php namespace Livewire\Mechanisms\Tests; use Livewire\Livewire; class DirectlyAssignComponentParametersAsPropertiesUnitTest extends \Tests\TestCase { public function test_parameters_are_directly_set_as_properties_without_mount_method() { Livewire::test(ComponentWithDirectlyAssignedProperties::class...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/LoadBalancerCompatibilityUnitTest.php
src/Mechanisms/Tests/LoadBalancerCompatibilityUnitTest.php
<?php namespace Livewire\Mechanisms\Tests; use Livewire\Livewire; use Livewire\Component; use Tests\TestComponent; class LoadBalancerCompatibilityUnitTest extends \Tests\TestCase { public function test_component_keys_are_deterministic_across_load_balancers() { $component = Livewire::test([new class e...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/CustomUpdateRouteBrowserTest.php
src/Mechanisms/Tests/CustomUpdateRouteBrowserTest.php
<?php namespace Livewire\Mechanisms\Tests; use Livewire\Livewire; use Livewire\Component; use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\URL; class CustomUpdateRouteBrowserTest extends \Tests\BrowserTestCase { public static function tweakApplicationHook() { return function () { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/ComponentSkipRenderUnitTest.php
src/Mechanisms/Tests/ComponentSkipRenderUnitTest.php
<?php namespace Livewire\Mechanisms\Tests; use Illuminate\Support\Facades\Route; use Livewire\Component; use Livewire\Livewire; use function Livewire\store; use function Livewire\str; class ComponentSkipRenderUnitTest extends \Tests\TestCase { public function test_component_renders_like_normal() { $...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/LivewireDirectiveUnitTest.php
src/Mechanisms/Tests/LivewireDirectiveUnitTest.php
<?php namespace Livewire\Mechanisms\Tests; use Illuminate\Support\Facades\Artisan; // TODO - Change this to \Tests\TestCase class LivewireDirectiveUnitTest extends \LegacyTests\Unit\TestCase { public function test_component_is_loaded_with_blade_directive() { Artisan::call('make:livewire', ['name' => ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/Tests/InlineBladeTemplatesUnitTest.php
src/Mechanisms/Tests/InlineBladeTemplatesUnitTest.php
<?php namespace Livewire\Mechanisms\Tests; use Livewire\Component; use Livewire\Livewire; class InlineBladeTemplatesUnitTest extends \Tests\TestCase { public function test_renders_inline_blade_template() { Livewire::test(ComponentWithInlineBladeTemplate::class) ->assertSee('foo'); } }...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php
src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php
<?php namespace Livewire\Mechanisms\ExtendBlade; use function Livewire\trigger; class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine { public function get($path, array $data = []) { if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data); $...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/ExtendBlade/UnitTest.php
src/Mechanisms/ExtendBlade/UnitTest.php
<?php namespace Livewire\Mechanisms\ExtendBlade; use ErrorException; use Exception; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Facades\View; use Livewire\Component; use Livewire\Exceptions\BypassViewHandler; use Livewire\Livewire; use Symfony\Compon...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/ExtendBlade/ExtendBlade.php
src/Mechanisms/ExtendBlade/ExtendBlade.php
<?php namespace Livewire\Mechanisms\ExtendBlade; use Illuminate\Support\Facades\Blade; use Livewire\Mechanisms\Mechanism; use function Livewire\invade; use function Livewire\on; class ExtendBlade extends Mechanism { protected $directives = []; protected $precompilers = []; protected $renderCounter = 0; ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Mechanisms/ExtendBlade/DeterministicBladeKeys.php
src/Mechanisms/ExtendBlade/DeterministicBladeKeys.php
<?php namespace Livewire\Mechanisms\ExtendBlade; use Illuminate\View\Compilers\BladeCompiler; class DeterministicBladeKeys { protected $countersByPath = []; protected $currentPathHash; public function generate() { if (! $this->currentPathHash) { throw new \Exception('Latest comp...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/NonPublicComponentMethodCall.php
src/Exceptions/NonPublicComponentMethodCall.php
<?php namespace Livewire\Exceptions; class NonPublicComponentMethodCall extends \Exception { use BypassViewHandler; public function __construct($method) { parent::__construct('Component method not found: ['.$method.']'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/TooManyComponentsException.php
src/Exceptions/TooManyComponentsException.php
<?php namespace Livewire\Exceptions; class TooManyComponentsException extends \Exception { public function __construct(int $count, int $maxComponents) { $message = "Too many components in a single request ({$count}). " . "Maximum allowed is {$maxComponents}. " . "You can config...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/PropertyNotFoundException.php
src/Exceptions/PropertyNotFoundException.php
<?php namespace Livewire\Exceptions; class PropertyNotFoundException extends \Exception { use BypassViewHandler; public function __construct($property, $component) { parent::__construct( "Property [\${$property}] not found on component: [{$component}]" ); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/RootTagMissingFromViewException.php
src/Exceptions/RootTagMissingFromViewException.php
<?php namespace Livewire\Exceptions; class RootTagMissingFromViewException extends \Exception { use BypassViewHandler; public function __construct() { parent::__construct( 'Livewire encountered a missing root tag when trying to render a ' . "component. \n When rendering a ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/ComponentAttributeMissingOnDynamicComponentException.php
src/Exceptions/ComponentAttributeMissingOnDynamicComponentException.php
<?php namespace Livewire\Exceptions; class ComponentAttributeMissingOnDynamicComponentException extends \Exception { use BypassViewHandler; public function __construct() { parent::__construct('Dynamic component tag is missing component attribute.'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/MissingRulesException.php
src/Exceptions/MissingRulesException.php
<?php namespace Livewire\Exceptions; class MissingRulesException extends \Exception { use BypassViewHandler; public function __construct($instance) { $class = $instance::class; parent::__construct( "Missing [\$rules/rules()] property/method on: [{$class}]." ); } }...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/ComponentNotFoundException.php
src/Exceptions/ComponentNotFoundException.php
<?php namespace Livewire\Exceptions; class ComponentNotFoundException extends \Exception { use BypassViewHandler; }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/MaxNestingDepthExceededException.php
src/Exceptions/MaxNestingDepthExceededException.php
<?php namespace Livewire\Exceptions; class MaxNestingDepthExceededException extends \Exception { public function __construct(string $path, int $maxDepth) { $message = "Property path [{$path}] exceeds the maximum nesting depth of {$maxDepth} levels. " . "You can configure this limit in conf...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/BypassViewHandler.php
src/Exceptions/BypassViewHandler.php
<?php namespace Livewire\Exceptions; trait BypassViewHandler { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/EventHandlerDoesNotExist.php
src/Exceptions/EventHandlerDoesNotExist.php
<?php namespace Livewire\Exceptions; class EventHandlerDoesNotExist extends \Exception { public function __construct(public readonly string $eventName) { parent::__construct('Handler for event ' . $eventName . ' does not exist'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/PublicPropertyNotFoundException.php
src/Exceptions/PublicPropertyNotFoundException.php
<?php namespace Livewire\Exceptions; class PublicPropertyNotFoundException extends \Exception { use BypassViewHandler; public function __construct($property, $component) { parent::__construct( "Unable to set component data. Public property [\${$property}] not found on component: [{$co...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/PayloadTooLargeException.php
src/Exceptions/PayloadTooLargeException.php
<?php namespace Livewire\Exceptions; class PayloadTooLargeException extends \Exception { public function __construct(int $size, int $maxSize) { $sizeKb = round($size / 1024); $maxKb = round($maxSize / 1024); $message = "Livewire request payload is too large ({$sizeKb}KB). " ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/LivewireReleaseTokenMismatchException.php
src/Exceptions/LivewireReleaseTokenMismatchException.php
<?php namespace Livewire\Exceptions; use Symfony\Component\HttpKernel\Exception\HttpException; class LivewireReleaseTokenMismatchException extends HttpException { public function __construct() { parent::__construct( 419, "Livewire detected a release token mismatch. \n". ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/TooManyCallsException.php
src/Exceptions/TooManyCallsException.php
<?php namespace Livewire\Exceptions; class TooManyCallsException extends \Exception { public function __construct(int $count, int $maxCalls) { $message = "Too many method calls in a single request ({$count}). " . "Maximum allowed is {$maxCalls}. " . "You can configure this limi...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Exceptions/MethodNotFoundException.php
src/Exceptions/MethodNotFoundException.php
<?php namespace Livewire\Exceptions; class MethodNotFoundException extends \Exception { use BypassViewHandler; public function __construct($method) { parent::__construct( "Unable to call component method. Public method [{$method}] not found on component" ); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Performance/RenderPerformanceBenchmarkTest.php
src/Performance/RenderPerformanceBenchmarkTest.php
<?php namespace Livewire\Performance; use Livewire\Component; use Tests\TestCase; class RenderPerformanceBenchmarkTest extends TestCase { protected int $iterations = 1000; protected array $results = []; public function test_benchmark_simple_component_render() { $this->benchmark('Simple Compo...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/UnitTest.php
src/Finder/UnitTest.php
<?php namespace Livewire\Finder; use Livewire\Finder\Fixtures\SelfNamedComponent\SelfNamedComponent; use Livewire\Finder\Fixtures\Nested\NestedComponent; use Livewire\Finder\Fixtures\IndexComponent\Index; use Livewire\Finder\Fixtures\FinderTestClassComponent; use Livewire\Component; class UnitTest extends \Tests\Tes...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Finder.php
src/Finder/Finder.php
<?php namespace Livewire\Finder; use Livewire\Component; class Finder { private const ZAP = "\u{26A1}"; private const ZAP_VS15 = "\u{26A1}\u{FE0E}"; private const ZAP_VS16 = "\u{26A1}\u{FE0F}"; protected $classLocations = []; protected $viewLocations = []; protected $classNamespaces = []; ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/FinderTestClassComponent.php
src/Finder/Fixtures/FinderTestClassComponent.php
<?php namespace Livewire\Finder\Fixtures; use Livewire\Component; class FinderTestClassComponent extends Component { public function render() { return '<div>Finder Location Test Component</div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/⚡finder-test-single-file-component-with-zap.blade.php
src/Finder/Fixtures/⚡finder-test-single-file-component-with-zap.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Single File Component With Zap</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/finder-test-single-file-component.blade.php
src/Finder/Fixtures/finder-test-single-file-component.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Single File Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/self-named-component/self-named-component.blade.php
src/Finder/Fixtures/self-named-component/self-named-component.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Single File Index Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/⚡multi-file-zap-component/multi-file-zap-component.php
src/Finder/Fixtures/⚡multi-file-zap-component/multi-file-zap-component.php
<?php use Livewire\Component; class MultiFileZapComponent extends Component { public function render() { return view('livewire.multi-file-zap-component'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/⚡multi-file-zap-component/multi-file-zap-component.blade.php
src/Finder/Fixtures/⚡multi-file-zap-component/multi-file-zap-component.blade.php
<div>Finder Test Multi-file Zap Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-self-named/multi-file-self-named.blade.php
src/Finder/Fixtures/multi-file-self-named/multi-file-self-named.blade.php
<div>Finder Test Multi-file Self-named Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-self-named/multi-file-self-named.php
src/Finder/Fixtures/multi-file-self-named/multi-file-self-named.php
<?php use Livewire\Component; class MultiFileSelfNamed extends Component { public function render() { return view('livewire.multi-file-self-named'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/nested-view-based/index.blade.php
src/Finder/Fixtures/nested-view-based/index.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Single File Index Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/nested-view-based/self-named-component/self-named-component.blade.php
src/Finder/Fixtures/nested-view-based/self-named-component/self-named-component.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Nested Self Named Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/nested-view-based/index/index.blade.php
src/Finder/Fixtures/nested-view-based/index/index.blade.php
<div>Finder Test Multi-file Index Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/nested-view-based/index/index.php
src/Finder/Fixtures/nested-view-based/index/index.php
<?php use Livewire\Component; new class extends Component { // };
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/nested-view-based/index-named-component/index.blade.php
src/Finder/Fixtures/nested-view-based/index-named-component/index.blade.php
<?php use Livewire\Component; new class extends Component { // }; ?> <div>Finder Test Nested Index Named Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/IndexComponent/Index.php
src/Finder/Fixtures/IndexComponent/Index.php
<?php namespace Livewire\Finder\Fixtures\IndexComponent; use Livewire\Component; class Index extends Component { public function render() { return '<div>Finder Location Test Component</div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/Nested/NestedComponent.php
src/Finder/Fixtures/Nested/NestedComponent.php
<?php namespace Livewire\Finder\Fixtures\Nested; use Livewire\Component; class NestedComponent extends Component { public function render() { return '<div>Finder Location Test Component</div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-index/index.blade.php
src/Finder/Fixtures/multi-file-index/index.blade.php
<div>Finder Test Multi-file Index Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-index/index.php
src/Finder/Fixtures/multi-file-index/index.php
<?php use Livewire\Component; class MultiFileIndex extends Component { public function render() { return view('livewire.multi-file-index'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-test-component/multi-file-test-component.blade.php
src/Finder/Fixtures/multi-file-test-component/multi-file-test-component.blade.php
<div>Finder Test Multi-file Component</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/multi-file-test-component/multi-file-test-component.php
src/Finder/Fixtures/multi-file-test-component/multi-file-test-component.php
<?php use Livewire\Component; class MultiFileTestComponent extends Component { public function render() { return view('livewire.multi-file-test-component'); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Finder/Fixtures/SelfNamedComponent/SelfNamedComponent.php
src/Finder/Fixtures/SelfNamedComponent/SelfNamedComponent.php
<?php namespace Livewire\Finder\Fixtures\SelfNamedComponent; use Livewire\Component; class SelfNamedComponent extends Component { public function render() { return '<div>Finder Location Test Component</div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false