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/Features/SupportFileDownloads/SupportFileDownloads.php
src/Features/SupportFileDownloads/SupportFileDownloads.php
<?php namespace Livewire\Features\SupportFileDownloads; use Symfony\Component\HttpFoundation\StreamedResponse; use Symfony\Component\HttpFoundation\BinaryFileResponse; use Livewire\ComponentHook; use Illuminate\Contracts\Support\Responsable; class SupportFileDownloads extends ComponentHook { function call() ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportFileDownloads/TestsFileDownloads.php
src/Features/SupportFileDownloads/TestsFileDownloads.php
<?php namespace Livewire\Features\SupportFileDownloads; use PHPUnit\Framework\Assert as PHPUnit; trait TestsFileDownloads { public function assertFileDownloaded($filename = null, $content = null, $contentType = null) { $downloadEffect = data_get($this->effects, 'download'); if ($filename) { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportWireShow/BrowserTest.php
src/Features/SupportWireShow/BrowserTest.php
<?php namespace Livewire\Features\SupportWireShow; use Livewire\Component; use Livewire\Livewire; use Tests\BrowserTestCase; class BrowserTest extends BrowserTestCase { public function test_wire_show_toggles_element_visibility() { Livewire::visit(new class extends Component { public $show...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLockedProperties/UnitTest.php
src/Features/SupportLockedProperties/UnitTest.php
<?php namespace Livewire\Features\SupportLockedProperties; use Livewire\Livewire; use Livewire\Component as BaseComponent; use Livewire\Form; use Tests\TestComponent; class UnitTest extends \Tests\TestCase { function test_cant_update_locked_property() { $this->expectExceptionMessage( 'Can...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLockedProperties/BaseLocked.php
src/Features/SupportLockedProperties/BaseLocked.php
<?php namespace Livewire\Features\SupportLockedProperties; use Livewire\Features\SupportAttributes\Attribute as LivewireAttribute; #[\Attribute] class BaseLocked extends LivewireAttribute { public function update() { throw new CannotUpdateLockedPropertyException($this->getName()); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLockedProperties/CannotUpdateLockedPropertyException.php
src/Features/SupportLockedProperties/CannotUpdateLockedPropertyException.php
<?php namespace Livewire\Features\SupportLockedProperties; class CannotUpdateLockedPropertyException extends \Exception { public function __construct(public $property) { parent::__construct( 'Cannot update locked property: ['.$this->property.']' ); } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportWireIgnore/BrowserTest.php
src/Features/SupportWireIgnore/BrowserTest.php
<?php namespace Livewire\Features\SupportWireIgnore; use Tests\BrowserTestCase; use Livewire\Component; use Livewire\Livewire; class BrowserTest extends BrowserTestCase { public function test_wire_ignore() { Livewire::visit(new class extends Component { public $foo = false; pu...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportWireBind/BrowserTest.php
src/Features/SupportWireBind/BrowserTest.php
<?php namespace Livewire\Features\SupportWireBind; use Livewire\Component; use Livewire\Livewire; use Tests\BrowserTestCase; class BrowserTest extends BrowserTestCase { public function test_wire_bind_binds_attribute_on_init() { Livewire::visit(new class extends Component { public $class =...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLifecycleHooks/TraitsUnitTest.php
src/Features/SupportLifecycleHooks/TraitsUnitTest.php
<?php namespace Livewire\Features\SupportLifecycleHooks; use Livewire\Component; use Livewire\Livewire; class TraitsUnitTest extends \Tests\TestCase { public function test_traits_can_intercept_lifecycle_hooks() { Livewire::test(ComponentWithTraitStub::class) ->assertSetStrict( ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLifecycleHooks/DirectlyCallingLifecycleHooksNotAllowedException.php
src/Features/SupportLifecycleHooks/DirectlyCallingLifecycleHooksNotAllowedException.php
<?php namespace Livewire\Features\SupportLifecycleHooks; use Livewire\Exceptions\BypassViewHandler; class DirectlyCallingLifecycleHooksNotAllowedException extends \Exception { use BypassViewHandler; public function __construct($method, $component) { parent::__construct( "Unable to ca...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLifecycleHooks/UnitTest.php
src/Features/SupportLifecycleHooks/UnitTest.php
<?php namespace Livewire\Features\SupportLifecycleHooks; use Illuminate\Support\Stringable; use Livewire\Component; use Livewire\Livewire; use PHPUnit\Framework\Assert as PHPUnit; use Tests\TestComponent; class UnitTest extends \Tests\TestCase { public function test_cant_call_protected_lifecycle_hooks() { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php
src/Features/SupportLifecycleHooks/SupportLifecycleHooks.php
<?php namespace Livewire\Features\SupportLifecycleHooks; use function Livewire\store; use function Livewire\wrap; use Livewire\ComponentHook; class SupportLifecycleHooks extends ComponentHook { // Performance optimization: Cache trait lookups per component class... protected static $traitCache = []; // ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Json.php
src/Attributes/Json.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportJson\BaseJson; #[\Attribute(\Attribute::TARGET_METHOD)] class Json extends BaseJson { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Isolate.php
src/Attributes/Isolate.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportIsolating\BaseIsolate; #[\Attribute] class Isolate extends BaseIsolate { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Computed.php
src/Attributes/Computed.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportComputed\BaseComputed; #[\Attribute] class Computed extends BaseComputed { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Lazy.php
src/Attributes/Lazy.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportLazyLoading\BaseLazy; #[\Attribute] class Lazy extends BaseLazy { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Reactive.php
src/Attributes/Reactive.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportReactiveProps\BaseReactive; #[\Attribute] class Reactive extends BaseReactive { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Modelable.php
src/Attributes/Modelable.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportWireModelingNestedComponents\BaseModelable; #[\Attribute] class Modelable extends BaseModelable { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Renderless.php
src/Attributes/Renderless.php
<?php namespace Livewire\Attributes; use Livewire\Mechanisms\HandleComponents\BaseRenderless; #[\Attribute] class Renderless extends BaseRenderless { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Defer.php
src/Attributes/Defer.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportLazyLoading\BaseDefer; #[\Attribute] class Defer extends BaseDefer { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Url.php
src/Attributes/Url.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportQueryString\BaseUrl; #[\Attribute] class Url extends BaseUrl { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Layout.php
src/Attributes/Layout.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportPageComponents\BaseLayout; #[\Attribute] class Layout extends BaseLayout { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Title.php
src/Attributes/Title.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportPageComponents\BaseTitle; #[\Attribute] class Title extends BaseTitle { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Locked.php
src/Attributes/Locked.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportLockedProperties\BaseLocked; #[\Attribute] class Locked extends BaseLocked { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/On.php
src/Attributes/On.php
<?php namespace Livewire\Attributes; use Attribute; use Livewire\Features\SupportEvents\BaseOn; #[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)] class On extends BaseOn { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Validate.php
src/Attributes/Validate.php
<?php namespace Livewire\Attributes; use Attribute; use Livewire\Features\SupportValidation\BaseValidate; #[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_ALL)] class Validate extends BaseValidate { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Async.php
src/Attributes/Async.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportAsync\BaseAsync; #[\Attribute] class Async extends BaseAsync { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Js.php
src/Attributes/Js.php
<?php namespace Livewire\Attributes; use Livewire\Features\SupportJsEvaluation\BaseJs; #[\Attribute] class Js extends BaseJs { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Session.php
src/Attributes/Session.php
<?php namespace Livewire\Attributes; use Attribute; use Livewire\Features\SupportSession\BaseSession; #[Attribute(Attribute::TARGET_PROPERTY)] class Session extends BaseSession { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Attributes/Rule.php
src/Attributes/Rule.php
<?php namespace Livewire\Attributes; use Attribute; use Livewire\Features\SupportValidation\BaseRule; #[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_ALL)] class Rule extends BaseRule { // }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/UnitTest.php
src/Factory/UnitTest.php
<?php namespace Livewire\Factory; use Livewire\Factory\Fixtures\SimpleComponent; use Illuminate\Support\Facades\File; use Livewire\Compiler\CacheManager; use Livewire\Compiler\Compiler; use Livewire\Finder\Finder; use Livewire\Component; class UnitTest extends \Tests\TestCase { protected $tempPath; protected...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/Factory.php
src/Factory/Factory.php
<?php namespace Livewire\Factory; use Livewire\Exceptions\ComponentNotFoundException; use Livewire\Compiler\Compiler; use Livewire\Finder\Finder; use Livewire\Component; class Factory { protected $missingComponentResolvers = []; protected $resolvedComponentCache = []; public function __construct( ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/Fixtures/simple-single-file-component.blade.php
src/Factory/Fixtures/simple-single-file-component.blade.php
<?php use Livewire\Component; new class extends Component { public $message = 'Hello from Single File Component'; }; ?> <div>Single File Component View</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/Fixtures/SimpleComponent.php
src/Factory/Fixtures/SimpleComponent.php
<?php namespace Livewire\Factory\Fixtures; use Livewire\Component; class SimpleComponent extends Component { public $message = 'Hello World'; public function render() { return '<div>{{ $message }}</div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/Fixtures/simple-multi-file-component/simple-multi-file-component.blade.php
src/Factory/Fixtures/simple-multi-file-component/simple-multi-file-component.blade.php
<div>Multi File Component View: {{ $title }}</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/src/Factory/Fixtures/simple-multi-file-component/simple-multi-file-component.php
src/Factory/Fixtures/simple-multi-file-component/simple-multi-file-component.php
<?php use Livewire\Component; new class extends Component { public $title = 'Hello from Multi File Component'; };
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/TestCase.php
tests/TestCase.php
<?php namespace Tests; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\RateLimiter; use Orchestra\Testbench\Dusk\Options; class TestCase extends \Orchestra\Testbench\Dusk\TestCase { public function setUp(): void { $this->afterApplicationCrea...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/TestComponent.php
tests/TestComponent.php
<?php namespace Tests; use Livewire\Component; class TestComponent extends Component { function render() { return '<div></div>'; } }
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/BrowserTestCase.php
tests/BrowserTestCase.php
<?php namespace Tests; use function Livewire\trigger; class BrowserTestCase extends TestCase { public static function tweakApplicationHook() { return function () {}; } public function setUp(): void { parent::setUp(); trigger('browser.testCase.setUp', $this); } publi...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/show-children.blade.php
tests/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/tests/views/show-double-header-slot.blade.php
tests/views/show-double-header-slot.blade.php
<x-component-with-slot> <x-slot name="header"> The component header </x-slot> </x-component-with-slot> <div> Hello World </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/dump-errors.blade.php
tests/views/dump-errors.blade.php
<div> @json($errors->toArray()) @error('test') @enderror @component('components.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/tests/views/null-view.blade.php
tests/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/tests/views/execute-callback.blade.php
tests/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/tests/views/assets-directive.blade.php
tests/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/tests/views/show-property-value.blade.php
tests/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/tests/views/custom-pagination-theme.blade.php
tests/views/custom-pagination-theme.blade.php
<div> <span>Custom pagination theme</span> </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/uses-component.blade.php
tests/views/uses-component.blade.php
<html> <div> {{ $variable }} -- <livewire:foo /> </div> </html>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/load-balancer-parent.blade.php
tests/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/tests/views/show-name.blade.php
tests/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/tests/views/show-errors.blade.php
tests/views/show-errors.blade.php
<div> <h1>Errors test</h1> @foreach ($errors->all() as $error) <li>{{ $error }}</li> @endforeach </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/custom-simple-pagination-theme.blade.php
tests/views/custom-simple-pagination-theme.blade.php
<div> <span>Custom simple pagination theme</span> </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/show-child.blade.php
tests/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/tests/views/show-name-with-this.blade.php
tests/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/tests/views/placeholder.blade.php
tests/views/placeholder.blade.php
<div id="loading"> Loading... <div>{{ $myParameter }}</div> </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/load-balancer-child.blade.php
tests/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/tests/views/render-component.blade.php
tests/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/tests/views/show-layout-slots.blade.php
tests/views/show-layout-slots.blade.php
<x-slot name="header"> <h2>I am a header - {{ $bar }}</h2> </x-slot> <div> Hello World </div> <x-slot name="footer"> <div> I am a footer - {{ $bar }} </div> </x-slot>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/components/component-with-slot.blade.php
tests/views/components/component-with-slot.blade.php
<div> {{ $header ?? 'Default component title' }} </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/components/input.blade.php
tests/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/tests/views/components/dump-errors-nested-component.blade.php
tests/views/components/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/tests/views/components/this-directive.blade.php
tests/views/components/this-directive.blade.php
<div> @this </div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/components/basic-component.blade.php
tests/views/components/basic-component.blade.php
<div {{ $attributes }}>{{ $slot }}</div>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/components/layouts/custom.blade.php
tests/views/components/layouts/custom.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> </head> <body> <h1>This is a custom layout</h1> {{ $slot }} @stack('scripts') </body> </html>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/components/layouts/app.blade.php
tests/views/components/layouts/app.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> @if (app('livewire')->isCspSafe()) <meta http-equiv="Content-Security-Policy" content=" default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'none'; ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/app-extends.blade.php
tests/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/tests/views/layouts/data-test.blade.php
tests/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/tests/views/layouts/app-custom-slot.blade.php
tests/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/tests/views/layouts/app-anonymous-component.blade.php
tests/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/tests/views/layouts/app-anonymous-component-with-required-prop.blade.php
tests/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/tests/views/layouts/app-with-bar.blade.php
tests/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/tests/views/layouts/app-with-title.blade.php
tests/views/layouts/app-with-title.blade.php
{{ $title }} {{ $slot }}
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/app-layout-with-slots.blade.php
tests/views/layouts/app-layout-with-slots.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> </head> <body> {{ $header ?? 'No Header' }} {{ $slot }} {{ $footer ?? 'No Footer' }} </body> </html>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/old-app.blade.php
tests/views/layouts/old-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/tests/views/layouts/app-custom-section.blade.php
tests/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/tests/views/layouts/app-from-class-component.blade.php
tests/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/tests/views/layouts/app-layout-with-stacks.blade.php
tests/views/layouts/app-layout-with-stacks.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> @stack('styles') </head> <body> {{ $slot }} @stack('scripts') </body> </html>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/app-from-class-component-with-properties.blade.php
tests/views/layouts/app-from-class-component-with-properties.blade.php
{{ $slot }} {{ $foo }}
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/app-with-baz-hardcoded.blade.php
tests/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/tests/views/layouts/app-with-styles.blade.php
tests/views/layouts/app-with-styles.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> <style> .show { display: block; } </style> </head> <body> {{ $slot }} @stack('scripts') </body> </html>
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/views/layouts/app.blade.php
tests/views/layouts/app.blade.php
<html> <head> <meta name="csrf-token" content="{{ csrf_token() }}"> @if (app('livewire')->isCspSafe()) <meta http-equiv="Content-Security-Policy" content=" default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'none'; ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/HandleComponents/ChecksumRateLimitTest.php
tests/Unit/Mechanisms/HandleComponents/ChecksumRateLimitTest.php
<?php namespace Tests\Unit\Mechanisms\HandleComponents; use Illuminate\Support\Facades\RateLimiter; use Livewire\Mechanisms\HandleComponents\Checksum; use Livewire\Mechanisms\HandleComponents\CorruptComponentPayloadException; use Symfony\Component\HttpKernel\Exception\TooManyRequestsHttpException; use Tests\TestCase;...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/HandleComponents/NestingDepthTest.php
tests/Unit/Mechanisms/HandleComponents/NestingDepthTest.php
<?php namespace Tests\Unit\Mechanisms\HandleComponents; use Livewire\Component; use Livewire\Livewire; use Livewire\Exceptions\MaxNestingDepthExceededException; use Tests\TestCase; class NestingDepthTest extends TestCase { public function test_rejects_property_paths_exceeding_max_depth() { config()->...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/HandleComponents/SecurityPolicyTest.php
tests/Unit/Mechanisms/HandleComponents/SecurityPolicyTest.php
<?php namespace Tests\Unit\Mechanisms\HandleComponents; use Illuminate\Console\Command; use Livewire\Mechanisms\HandleComponents\SecurityPolicy; class SecurityPolicyTest extends \Tests\TestCase { public function test_validates_safe_classes() { // Should not throw for regular classes SecurityP...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/FrontendAssets/EndpointResolverIntegrationTest.php
tests/Unit/Mechanisms/FrontendAssets/EndpointResolverIntegrationTest.php
<?php namespace Tests\Unit\Mechanisms\FrontendAssets; use Livewire\Mechanisms\FrontendAssets\FrontendAssets; use Livewire\Mechanisms\HandleRequests\EndpointResolver; use Tests\TestCase; class EndpointResolverIntegrationTest extends TestCase { public function test_script_route_uses_endpoint_resolver_path() { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/HandleRequests/EndpointResolverTest.php
tests/Unit/Mechanisms/HandleRequests/EndpointResolverTest.php
<?php namespace Tests\Unit\Mechanisms\HandleRequests; use Livewire\Mechanisms\HandleRequests\EndpointResolver; use Tests\TestCase; class EndpointResolverTest extends TestCase { public function test_generates_unique_prefix_from_app_key() { $prefix = EndpointResolver::prefix(); // Should start...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/tests/Unit/Mechanisms/HandleRequests/PayloadGuardsTest.php
tests/Unit/Mechanisms/HandleRequests/PayloadGuardsTest.php
<?php namespace Tests\Unit\Mechanisms\HandleRequests; use Livewire\Component; use Livewire\Livewire; use Livewire\Exceptions\PayloadTooLargeException; use Livewire\Exceptions\TooManyComponentsException; use Livewire\Exceptions\TooManyCallsException; use Tests\TestCase; class PayloadGuardsTest extends TestCase { ...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
livewire/livewire
https://github.com/livewire/livewire/blob/f2f58e728b8e834780be780ee727a85e9513d56b/config/livewire.php
config/livewire.php
<?php return [ /* |--------------------------------------------------------------------------- | Component Locations |--------------------------------------------------------------------------- | | This value sets the root directories that'll be used to resolve view-based | components like...
php
MIT
f2f58e728b8e834780be780ee727a85e9513d56b
2026-01-04T15:02:34.292445Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/WildcardPermission.php
src/WildcardPermission.php
<?php namespace Spatie\Permission; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use Spatie\Permission\Contracts\Wildcard; use Spatie\Permission\Exceptions\WildcardPermissionNotProperlyFormatted; class WildcardPermission implements Wildcard { /** @var string */ public const WILDCARD_TOK...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/PermissionServiceProvider.php
src/PermissionServiceProvider.php
<?php namespace Spatie\Permission; use Composer\InstalledVersions; use Illuminate\Contracts\Auth\Access\Gate; use Illuminate\Contracts\Events\Dispatcher; use Illuminate\Contracts\Foundation\Application; use Illuminate\Filesystem\Filesystem; use Illuminate\Foundation\Console\AboutCommand; use Illuminate\Routing\Route;...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/DefaultTeamResolver.php
src/DefaultTeamResolver.php
<?php namespace Spatie\Permission; use Spatie\Permission\Contracts\PermissionsTeamResolver; class DefaultTeamResolver implements PermissionsTeamResolver { protected int|string|null $teamId = null; /** * Set the team id for teams/groups support, this id is used when querying permissions/roles * ...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/helpers.php
src/helpers.php
<?php if (! function_exists('getModelForGuard')) { function getModelForGuard(string $guard): ?string { return Spatie\Permission\Guard::getModelForGuard($guard); } } if (! function_exists('setPermissionsTeamId')) { /** * @param int|string|null|\Illuminate\Database\Eloquent\Model $id ...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/PermissionRegistrar.php
src/PermissionRegistrar.php
<?php namespace Spatie\Permission; use Illuminate\Cache\CacheManager; use Illuminate\Contracts\Auth\Access\Authorizable; use Illuminate\Contracts\Auth\Access\Gate; use Illuminate\Contracts\Cache\Repository; use Illuminate\Contracts\Cache\Store; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloq...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Guard.php
src/Guard.php
<?php namespace Spatie\Permission; use Illuminate\Contracts\Auth\Access\Authorizable; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Collection; use Illuminate\Support\Facades\Auth; class Guard { /** * Return a collection of guard names suitable for the $model, * as indicated by the pre...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/RoleDoesNotExist.php
src/Exceptions/RoleDoesNotExist.php
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class RoleDoesNotExist extends InvalidArgumentException { public static function named(string $roleName, ?string $guardName) { return new static(__('There is no role named `:role` for guard `:guard`.', [ 'role' =>...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/UnauthorizedException.php
src/Exceptions/UnauthorizedException.php
<?php namespace Spatie\Permission\Exceptions; use Illuminate\Contracts\Auth\Access\Authorizable; use Symfony\Component\HttpKernel\Exception\HttpException; class UnauthorizedException extends HttpException { private $requiredRoles = []; private $requiredPermissions = []; public static function forRoles(...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/GuardDoesNotMatch.php
src/Exceptions/GuardDoesNotMatch.php
<?php namespace Spatie\Permission\Exceptions; use Illuminate\Support\Collection; use InvalidArgumentException; class GuardDoesNotMatch extends InvalidArgumentException { public static function create(string $givenGuard, Collection $expectedGuards) { return new static(__('The given role or permission ...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/PermissionDoesNotExist.php
src/Exceptions/PermissionDoesNotExist.php
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class PermissionDoesNotExist extends InvalidArgumentException { public static function create(string $permissionName, ?string $guardName) { return new static(__('There is no permission named `:permission` for guard `:guard`.'...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/WildcardPermissionInvalidArgument.php
src/Exceptions/WildcardPermissionInvalidArgument.php
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class WildcardPermissionInvalidArgument extends InvalidArgumentException { public static function create() { return new static(__('Wildcard permission must be string, permission id or permission instance')); } }
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false
spatie/laravel-permission
https://github.com/spatie/laravel-permission/blob/c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044/src/Exceptions/WildcardPermissionNotImplementsContract.php
src/Exceptions/WildcardPermissionNotImplementsContract.php
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class WildcardPermissionNotImplementsContract extends InvalidArgumentException { public static function create() { return new static(__('Wildcard permission class must implement Spatie\\Permission\\Contracts\\Wildcard contrac...
php
MIT
c9a58b20c656ea6e22b25e6e1b4d3bab0e0ca044
2026-01-04T15:03:01.280769Z
false