v1.0.0 initial release

This commit is contained in:
samy
2025-06-13 10:48:20 -10:00
commit 0c8f70bca5
3333 changed files with 189946 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use Illuminate\View\ComponentAttributeBag;
if (! function_exists('sk_is_livewire')) {
function sk_is_livewire(?ComponentAttributeBag $attributes): bool
{
return collect($attributes?->getAttributes() ?? [])
->keys()
->contains(fn ($attr) => str($attr)->startsWith('wire:model'));
}
}