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 |
|---|---|---|---|---|---|---|---|---|
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/KeepAliveTest.php | test/Header/KeepAliveTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/HeaderValueTest.php | test/Header/HeaderValueTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/TrailerTest.php | test/Header/TrailerTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/RefererTest.php | test/Header/RefererTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ServerTest.php | test/Header/ServerTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/TransferEncodingTest.php | test/Header/TransferEncodingTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ExpiresTest.php | test/Header/ExpiresTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/UpgradeTest.php | test/Header/UpgradeTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/AuthorizationTest.php | test/Header/AuthorizationTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ProxyAuthorizationTest.php | test/Header/ProxyAuthorizationTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/IfUnmodifiedSinceTest.php | test/Header/IfUnmodifiedSinceTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ContentTransferEncodingTest.php | test/Header/ContentTransferEncodingTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ViaTest.php | test/Header/ViaTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/MaxForwardsTest.php | test/Header/MaxForwardsTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/VaryTest.php | test/Header/VaryTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/ContentLanguageTest.php | test/Header/ContentLanguageTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/CacheControlTest.php | test/Header/CacheControlTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/GenericHeaderTest.php | test/Header/GenericHeaderTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
zendframework/zend-http | https://github.com/zendframework/zend-http/blob/ac4ffd09d509b2c5c0285178c4f7de740f05c3d9/test/Header/WWWAuthenticateTest.php | test/Header/WWWAuthenticateTest.php | <?php
/**
* @see https://github.com/zendframework/zend-http for the canonical source repository
* @copyright Copyright (c) 2005-2017 Zend Technologies USA Inc. (http://www.zend.com)
* @license https://github.com/zendframework/zend-http/blob/master/LICENSE.md New BSD License
*/
namespace ZendTest\Http\Heade... | php | BSD-3-Clause | ac4ffd09d509b2c5c0285178c4f7de740f05c3d9 | 2026-01-05T05:18:13.309357Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/FrontMatter.php | src/FrontMatter.php | <?php
namespace Livewire\Blaze;
use Livewire\Blaze\Events\ComponentFolded;
class FrontMatter
{
public function compileFromEvents(array $events): string
{
$frontmatter = '';
foreach ($events as $event) {
if (! ($event instanceof ComponentFolded)) {
throw new \Excep... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/BlazeManager.php | src/BlazeManager.php | <?php
namespace Livewire\Blaze;
use Livewire\Blaze\Events\ComponentFolded;
use Livewire\Blaze\Nodes\ComponentNode;
use Livewire\Blaze\Tokenizer\Tokenizer;
use Illuminate\Support\Facades\Event;
use Livewire\Blaze\Memoizer\Memoizer;
use Livewire\Blaze\Walker\Walker;
use Livewire\Blaze\Parser\Parser;
use Livewire\Blaze\... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Unblaze.php | src/Unblaze.php | <?php
namespace Livewire\Blaze;
use Illuminate\Support\Arr;
class Unblaze
{
static $unblazeScopes = [];
static $unblazeReplacements = [];
public static function storeScope($token, $scope = [])
{
static::$unblazeScopes[$token] = $scope;
}
public static function hasUnblaze(string $tem... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/BladeService.php | src/BladeService.php | <?php
namespace Livewire\Blaze;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\File;
use Livewire\Blaze\Unblaze;
use ReflectionClass;
class BladeService
{
public function getTemporaryCachePath(): string
{
return storage_path('framework/views/blaze');
}
public function i... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Blaze.php | src/Blaze.php | <?php
namespace Livewire\Blaze;
use Illuminate\Support\Facades\Facade;
/**
* @method static string collectAndAppendFrontMatter(string $template, callable $callback)
* @method static bool viewContainsExpiredFrontMatter(\Illuminate\View\View $view)
* @method static string compile(string $template)
* @method static... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/BlazeServiceProvider.php | src/BlazeServiceProvider.php | <?php
namespace Livewire\Blaze;
use Livewire\Blaze\Walker\Walker;
use Livewire\Blaze\Tokenizer\Tokenizer;
use Livewire\Blaze\Parser\Parser;
use Livewire\Blaze\Memoizer\Memoizer;
use Livewire\Blaze\Folder\Folder;
use Livewire\Blaze\Directive\BlazeDirective;
use Illuminate\Support\ServiceProvider;
use Illuminate\Suppor... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Exceptions/InvalidBlazeFoldUsageException.php | src/Exceptions/InvalidBlazeFoldUsageException.php | <?php
namespace Livewire\Blaze\Exceptions;
class InvalidBlazeFoldUsageException extends \Exception
{
protected string $componentPath;
protected string $problematicPattern;
protected function __construct(string $componentPath, string $problematicPattern, string $reason)
{
$this->componentPath... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Exceptions/LeftoverPlaceholdersException.php | src/Exceptions/LeftoverPlaceholdersException.php | <?php
namespace Livewire\Blaze\Exceptions;
class LeftoverPlaceholdersException extends \RuntimeException
{
public function __construct(
protected string $componentName,
protected string $leftoverSummary,
protected ?string $renderedSnippet = null
) {
parent::__construct(
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Support/AttributeParser.php | src/Support/AttributeParser.php | <?php
namespace Livewire\Blaze\Support;
class AttributeParser
{
public function parseAndReplaceDynamics(
string $attributesString,
array &$attributePlaceholders,
array &$attributeNameToPlaceholder
): string {
// Early exit unless bound syntax or echo present (support start or w... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Memoizer/Memo.php | src/Memoizer/Memo.php | <?php
namespace Livewire\Blaze\Memoizer;
class Memo
{
protected static $memo = [];
public static function clear(): void
{
self::$memo = [];
}
public static function key(string $name, $params = []): string
{
ksort($params);
$params = json_encode($params);
ret... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Memoizer/Memoizer.php | src/Memoizer/Memoizer.php | <?php
namespace Livewire\Blaze\Memoizer;
use Livewire\Blaze\Nodes\ComponentNode;
use Livewire\Blaze\Nodes\TextNode;
use Livewire\Blaze\Nodes\Node;
use Livewire\Blaze\Directive\BlazeDirective;
class Memoizer
{
protected $componentNameToPath;
public function __construct(callable $componentNameToPath)
{
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Nodes/SlotNode.php | src/Nodes/SlotNode.php | <?php
namespace Livewire\Blaze\Nodes;
class SlotNode extends Node
{
public function __construct(
public string $name,
public string $attributes = '',
public string $slotStyle = 'standard',
public array $children = [],
public string $prefix = 'x-slot',
public bool $c... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Nodes/Node.php | src/Nodes/Node.php | <?php
namespace Livewire\Blaze\Nodes;
abstract class Node
{
abstract public function getType(): string;
abstract public function toArray(): array;
abstract public function render(): string;
} | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Nodes/TextNode.php | src/Nodes/TextNode.php | <?php
namespace Livewire\Blaze\Nodes;
class TextNode extends Node
{
public function __construct(
public string $content,
) {}
public function getType(): string
{
return 'text';
}
public function toArray(): array
{
return [
'type' => $this->getType(),
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Nodes/ComponentNode.php | src/Nodes/ComponentNode.php | <?php
namespace Livewire\Blaze\Nodes;
use Livewire\Blaze\Support\AttributeParser;
use Livewire\Blaze\Nodes\SlotNode;
use Livewire\Blaze\Nodes\TextNode;
class ComponentNode extends Node
{
public function __construct(
public string $name,
public string $prefix,
public string $attributes = '... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Parser/Parser.php | src/Parser/Parser.php | <?php
namespace Livewire\Blaze\Parser;
use Livewire\Blaze\Tokenizer\Tokens\TagSelfCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\SlotCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\TagCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\SlotOpenToken;
use Livewire\Blaze\Tokenizer\Tokens\TagOpenToken;
use Livewire\Blaze\T... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Parser/ParseStack.php | src/Parser/ParseStack.php | <?php
namespace Livewire\Blaze\Parser;
use Livewire\Blaze\Nodes\ComponentNode;
use Livewire\Blaze\Nodes\SlotNode;
use Livewire\Blaze\Nodes\Node;
class ParseStack
{
protected array $stack = [];
protected array $ast = [];
public function addToRoot(Node $node): void
{
if (empty($this->stack)) ... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/State.php | src/Tokenizer/State.php | <?php
namespace Livewire\Blaze\Tokenizer;
enum State: string
{
case TEXT = 'TEXT';
case TAG_OPEN = 'TAG_OPEN';
case TAG_NAME = 'TAG_NAME';
case ATTRIBUTE_NAME = 'ATTRIBUTE_NAME';
case ATTRIBUTE_VALUE = 'ATTRIBUTE_VALUE';
case SLOT = 'SLOT';
case SLOT_NAME = 'SLOT_NAME';
case TAG_CLOSE ... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokenizer.php | src/Tokenizer/Tokenizer.php | <?php
namespace Livewire\Blaze\Tokenizer;
use Livewire\Blaze\Tokenizer\Tokens\TagSelfCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\SlotCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\SlotOpenToken;
use Livewire\Blaze\Tokenizer\Tokens\TagCloseToken;
use Livewire\Blaze\Tokenizer\Tokens\TagOpenToken;
use Livewire\Blaz... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/Token.php | src/Tokenizer/Tokens/Token.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
abstract class Token
{
abstract public function getType(): string;
abstract public function toArray(): array;
}
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/TagOpenToken.php | src/Tokenizer/Tokens/TagOpenToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class TagOpenToken extends Token
{
public function __construct(
public string $name,
public string $prefix,
public string $namespace = '',
public string $attributes = '',
) {}
public function getType(): string
{
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/TagSelfCloseToken.php | src/Tokenizer/Tokens/TagSelfCloseToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class TagSelfCloseToken extends Token
{
public function __construct(
public string $name,
public string $prefix,
public string $namespace = '',
public string $attributes = '',
) {}
public function getType(): string
{
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/SlotCloseToken.php | src/Tokenizer/Tokens/SlotCloseToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class SlotCloseToken extends Token
{
public function __construct(
public ?string $name = null,
public string $prefix = 'x-',
) {}
public function getType(): string
{
return 'slot_close';
}
public function toArray(): arr... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/TagCloseToken.php | src/Tokenizer/Tokens/TagCloseToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class TagCloseToken extends Token
{
public function __construct(
public string $name,
public string $prefix,
public string $namespace = '',
) {}
public function getType(): string
{
return 'tag_close';
}
public f... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/TextToken.php | src/Tokenizer/Tokens/TextToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class TextToken extends Token
{
public function __construct(
public string $content,
) {}
public function getType(): string
{
return 'text';
}
public function toArray(): array
{
return [
'type' => $this-... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Tokenizer/Tokens/SlotOpenToken.php | src/Tokenizer/Tokens/SlotOpenToken.php | <?php
namespace Livewire\Blaze\Tokenizer\Tokens;
class SlotOpenToken extends Token
{
public function __construct(
public ?string $name = null,
public string $attributes = '',
public string $slotStyle = 'standard',
public string $prefix = 'x-',
) {}
public function getType(... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Walker/Walker.php | src/Walker/Walker.php | <?php
namespace Livewire\Blaze\Walker;
use Livewire\Blaze\Nodes\ComponentNode;
use Livewire\Blaze\Nodes\SlotNode;
class Walker
{
public function walk(array $nodes, callable $preCallback, callable $postCallback): array
{
$result = [];
foreach ($nodes as $node) {
$processed = $preC... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Directive/BlazeDirective.php | src/Directive/BlazeDirective.php | <?php
namespace Livewire\Blaze\Directive;
use Illuminate\Support\Facades\Blade;
class BlazeDirective
{
public static function registerFallback(): void
{
Blade::directive('blaze', fn () => '');
}
public static function getParameters(string $source): ?array
{
// If there is no @bla... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Folder/Folder.php | src/Folder/Folder.php | <?php
namespace Livewire\Blaze\Folder;
use Livewire\Blaze\Exceptions\LeftoverPlaceholdersException;
use Livewire\Blaze\Exceptions\InvalidBlazeFoldUsageException;
use Livewire\Blaze\Support\AttributeParser;
use Livewire\Blaze\Events\ComponentFolded;
use Livewire\Blaze\Nodes\ComponentNode;
use Illuminate\Support\Facade... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/src/Events/ComponentFolded.php | src/Events/ComponentFolded.php | <?php
namespace Livewire\Blaze\Events;
class ComponentFolded
{
public function __construct(
public string $name,
public string $path,
public int $filemtime
) {}
} | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/BenchmarkTest.php | tests/BenchmarkTest.php | <?php
use Illuminate\Support\Facades\View;
beforeEach(function () {
// Register anonymous components used by the benchmark
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/components');
});
function render($viewFile, $enabled = false) {
clearCache();
// Warm up the compiler/cache..... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/BlazeTest.php | tests/BlazeTest.php | <?php
use Illuminate\Support\Facades\View;
describe('blaze integration', function () {
beforeEach(function () {
// Configure Blade to find our test components and views
app('blade.compiler')->anonymousComponentNamespace('', 'x');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fi... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/CacheInvalidationTest.php | tests/CacheInvalidationTest.php | <?php
describe('cache invalidation', function () {
beforeEach(function () {
app('blade.compiler')->anonymousComponentNamespace('', 'x');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/components');
});
function compileWithFrontmatter(string $input): string {
ret... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/LookupTest.php | tests/LookupTest.php | <?php
use Livewire\Blaze\BladeService;
describe('lookup component paths', function () {
beforeEach(function () {
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/components');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/pages', 'pages');
});
it('an... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/MemoizeTest.php | tests/MemoizeTest.php | <?php
use Illuminate\Support\Facades\Artisan;
describe('memoization', function () {
beforeEach(function () {
// Configure Blade to find our test components and views
app('blade.compiler')->anonymousComponentNamespace('', 'x');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtu... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/Pest.php | tests/Pest.php | <?php
use Livewire\Blaze\Tests\TestCase;
uses(TestCase::class)->in(__DIR__); | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/TestCase.php | tests/TestCase.php | <?php
namespace Livewire\Blaze\Tests;
use Livewire\Blaze\BlazeServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();
}
protected function getPackageProviders($app)
{
return [
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/ExcerciseTest.php | tests/ExcerciseTest.php | <?php
describe('exercise without folding', function () {
function compileBlade(string $input): string {
$tokens = app('blaze')->tokenizer()->tokenize($input);
$ast = app('blaze')->parser()->parse($tokens);
$output = implode('', array_map(fn ($n) => $n->render(), $ast));
return $outp... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/FoldTest.php | tests/FoldTest.php | <?php
describe('fold elligable components', function () {
beforeEach(function () {
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/components');
});
function compile(string $input): string {
return app('blaze')->compile($input);
}
it('simple component', function... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/InfiniteRecursionTest.php | tests/InfiniteRecursionTest.php | <?php
describe('infinite recursion bugs', function () {
beforeEach(function () {
// Configure Blade to find our test components and views
app('blade.compiler')->anonymousComponentNamespace('', 'x');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/components');
});
... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/AttributeParserTest.php | tests/AttributeParserTest.php | <?php
use Livewire\Blaze\Support\AttributeParser;
describe('parse attributes', function () {
it('parses and replaces dynamic attributes with name and value syntax', function() {
$input = ':name="$foo"';
$output = 'name="ATTR_PLACEHOLDER_0"';
$attributePlaceholders = [];
$attribute... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/UnblazeTest.php | tests/UnblazeTest.php | <?php
use Illuminate\Support\Facades\View;
describe('unblaze directive', function () {
beforeEach(function () {
// Configure Blade to find our test components
app('blade.compiler')->anonymousComponentNamespace('', 'x');
app('blade.compiler')->anonymousComponentPath(__DIR__ . '/fixtures/com... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/BladeServiceTest.php | tests/BladeServiceTest.php | <?php
use Livewire\Blaze\BladeService;
describe('componentNameToPath', function () {
beforeEach(function () {
$basePath = __DIR__ . '/fixtures/components';
app('blade.compiler')->anonymousComponentPath($basePath);
app('blade.compiler')->anonymousComponentPath($basePath, 'fixtures');
})... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/FluxTest.php | tests/FluxTest.php | <?php
use Illuminate\Support\Facades\Route;
describe('flux component integration', function () {
beforeEach(function () {
// Manually register Livewire and Flux providers for these tests
app()->register(\Livewire\LivewireServiceProvider::class);
app()->register(\Flux\FluxServiceProvider::c... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/benchmark/no-fold-button-in-loop.blade.php | tests/fixtures/benchmark/no-fold-button-in-loop.blade.php |
@for ($i = 0; $i < 25000; $i++)
<x-button-no-fold>Hi</x-button-no-fold>
@endfor | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/benchmark/simple-button-in-loop.blade.php | tests/fixtures/benchmark/simple-button-in-loop.blade.php |
@for ($i = 0; $i < 25000; $i++)
<x-button>Hi</x-button>
@endfor | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/pages/dashboard.blade.php | tests/fixtures/pages/dashboard.blade.php | @props([])
<div class="dashboard">{{ $slot }}</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/pages/invalid-foldable-test.blade.php | tests/fixtures/pages/invalid-foldable-test.blade.php | <div class="page">
<h1>Invalid Foldable Test</h1>
<!-- This should throw an exception because invalid-foldable has @blaze but uses $errors -->
<x-invalid-foldable>This should fail</x-invalid-foldable>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/pages/integration-test.blade.php | tests/fixtures/pages/integration-test.blade.php | <div class="page">
<h1>Integration Test Page</h1>
<!-- Foldable component should get folded -->
<x-button>Save Changes</x-button>
<!-- Non-foldable component should stay as component tag -->
<x-unfoldable-button>Cancel</x-unfoldable-button>
<!-- Nested foldable components should get folded --... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/pages/auth/login.blade.php | tests/fixtures/pages/auth/login.blade.php | @props([])
<div class="login-form">{{ $slot }}</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/pages/auth/index.blade.php | tests/fixtures/pages/auth/index.blade.php | @props([])
<div class="auth-layout">{{ $slot }}</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/alert.blade.php | tests/fixtures/components/alert.blade.php | @blaze
@props(['message' => null])
<div class="alert">{{ $message ?? $slot }}</div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/unfoldable-button.blade.php | tests/fixtures/components/unfoldable-button.blade.php | @props(['type' => 'button'])
<button type="{{ $type }}">{{ $slot }}</button> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-errors-inside-unblaze.blade.php | tests/fixtures/components/with-errors-inside-unblaze.blade.php | @blaze
<div class="form-input">
<label>Email</label>
<input type="email" name="email">
@unblaze
@if($errors->has('email'))
<span class="error">{{ $errors->first('email') }}</span>
@endif
@endunblaze
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-unblaze.blade.php | tests/fixtures/components/with-unblaze.blade.php | @blaze
<div class="container">
<h1>Static Header</h1>
@unblaze
<p>Dynamic content: {{ $dynamicValue }}</p>
@endunblaze
<footer>Static Footer</footer>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/card.blade.php | tests/fixtures/components/card.blade.php | @blaze
@props([])
<div class="card">
{{ $slot }}
</div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/button-no-fold.blade.php | tests/fixtures/components/button-no-fold.blade.php | @props(['type' => 'button'])
<button {{ $attributes->merge(['type' => $type]) }}>{{ $slot }}</button> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/group.blade.php | tests/fixtures/components/group.blade.php | @blaze
@props(['variant' => '', 'dataTest' => 'foo', 'secondVariant' => null])
<div {{ $attributes->merge(['class' => 'group group-'.$variant, 'data-test' => $dataTest]) }}@if($secondVariant) data-second-variant="{{ $secondVariant }}"@endif>{{ $slot }}</div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/date.blade.php | tests/fixtures/components/date.blade.php | @blaze
@props(['date'])
<div>Date is: {{ (new DateTime($date))->format('D, M d') }}</div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/button.blade.php | tests/fixtures/components/button.blade.php | @blaze
@props(['type' => 'button'])
<button {{ $attributes->merge(['type' => $type]) }}>{{ $slot }}</button> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/foldable-item.blade.php | tests/fixtures/components/foldable-item.blade.php | @blaze
@aware(['variant', 'secondVariant' => null ])
<div class="item item-{{ $variant }}{{ $secondVariant ? ' item-'.$secondVariant : '' }}"></div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/mixed-random.blade.php | tests/fixtures/components/mixed-random.blade.php | @blaze
<div class="mixed-component">
<h1>Static Random: {{ \Illuminate\Support\Str::random(20) }}</h1>
@unblaze
<p class="dynamic">Dynamic value: {{ $dynamicValue ?? 'none' }}</p>
@endunblaze
<footer>Static Footer: {{ \Illuminate\Support\Str::random(10) }}</footer>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/memoize.blade.php | tests/fixtures/components/memoize.blade.php | @blaze(fold: false)
<div>{{ str()->random() }}</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/item.blade.php | tests/fixtures/components/item.blade.php | @aware(['variant', 'secondVariant' => null ])
<div class="item item-{{ $variant }}{{ $secondVariant ? ' item-'.$secondVariant : '' }}"></div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/modal.blade.php | tests/fixtures/components/modal.blade.php | @blaze
@props([
'header' => '',
'footer' => '',
])
<div class="modal">
<div class="modal-header">{{ $header }}</div>
<div class="modal-body">{{ $slot }}</div>
<div class="modal-footer">{{ $footer }}</div>
</div> | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/random-static.blade.php | tests/fixtures/components/random-static.blade.php | @blaze
<div class="static-component">
<h1>Random: {{ \Illuminate\Support\Str::random(20) }}</h1>
<p>This should be folded and not change between renders</p>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/scoped-dynamic.blade.php | tests/fixtures/components/scoped-dynamic.blade.php | @blaze
<div class="scoped-component">
<h1>Static: {{ \Illuminate\Support\Str::random(15) }}</h1>
@unblaze(scope: ['value' => $value])
<div class="dynamic-section">Value: {{ $scope['value'] }}</div>
@endunblaze
<p>Static paragraph: {{ \Illuminate\Support\Str::random(10) }}</p>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-unblaze-scope.blade.php | tests/fixtures/components/with-unblaze-scope.blade.php | @blaze
<div class="wrapper">
<h2>Title</h2>
@unblaze(scope: ['message' => $message])
<div class="dynamic">{{ $scope['message'] }}</div>
@endunblaze
<p>Static paragraph</p>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-request-inside-unblaze.blade.php | tests/fixtures/components/with-request-inside-unblaze.blade.php | @blaze
<nav>
<a href="/home">Home</a>
@unblaze
<a href="/about" class="{{ request()->is('about') ? 'active' : '' }}">About</a>
@endunblaze
</nav>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-errors-outside-unblaze.blade.php | tests/fixtures/components/with-errors-outside-unblaze.blade.php | @blaze
<div class="form-input">
<label>Email</label>
<input type="email" name="email">
@if($errors->has('email'))
<span class="error">{{ $errors->first('email') }}</span>
@endif
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/avatar.blade.php | tests/fixtures/components/avatar.blade.php | @blaze
@props([
'iconVariant' => 'solid',
'initials' => null,
'tooltip' => null,
'circle' => null,
'color' => null,
'badge' => null,
'name' => null,
'icon' => null,
'size' => 'md',
'src' => null,
'href' => null,
'alt' => null,
'as' => 'div',
])
@php
if ($name && ! $... | php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/with-csrf-inside-unblaze.blade.php | tests/fixtures/components/with-csrf-inside-unblaze.blade.php | @blaze
<div class="form-wrapper">
<h2>Form</h2>
@unblaze
<form method="POST">
@csrf
<button>Submit</button>
</form>
@endunblaze
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/panel/panel.blade.php | tests/fixtures/components/panel/panel.blade.php | @blaze
@props([])
<div class="panel">
<div class="panel-header">
{{ $header }}
</div>
<div class="panel-body">
{{ $slot }}
</div>
<div class="panel-footer">
{{ $footer }}
</div>
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/aware.blade.php | tests/fixtures/components/invalid-foldable/aware.blade.php | @blaze
@aware(['variant' => 'default'])
<div class="item item-{{ $variant }}">
{{ $slot }}
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/session.blade.php | tests/fixtures/components/invalid-foldable/session.blade.php | @blaze
<div class="message">
{{ session('message') }}
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/csrf.blade.php | tests/fixtures/components/invalid-foldable/csrf.blade.php | @blaze
<form method="POST">
@csrf
{{ $slot }}
</form>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/errors.blade.php | tests/fixtures/components/invalid-foldable/errors.blade.php | @blaze
<div class="{{ $errors->has('name') ? 'error' : '' }}">
{{ $slot }}
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/auth.blade.php | tests/fixtures/components/invalid-foldable/auth.blade.php | @blaze
<div>
Welcome, {{ auth()->user()->name }}
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/request.blade.php | tests/fixtures/components/invalid-foldable/request.blade.php | @blaze
<div>
Current URL: {{ request()->url() }}
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/old.blade.php | tests/fixtures/components/invalid-foldable/old.blade.php | @blaze
<input type="text" name="email" value="{{ old('email') }}" />
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
livewire/blaze | https://github.com/livewire/blaze/blob/412a05c7b333ee9ce5d8a61a23f80998ece76a9d/tests/fixtures/components/invalid-foldable/once.blade.php | tests/fixtures/components/invalid-foldable/once.blade.php | @blaze
@props(['title'])
<div class="test-component">
<h1>{{ $title }}</h1>
@once
<script>console.log('This should only run once');</script>
@endonce
</div>
| php | MIT | 412a05c7b333ee9ce5d8a61a23f80998ece76a9d | 2026-01-05T05:18:39.918460Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.