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
@@ -0,0 +1,23 @@
@props([
'method' => 'post',
'action' => null,
])
@php
$spoofed = in_array(strtolower($method), ['put', 'patch', 'delete']);
@endphp
<form method="{{ strtolower($method) === 'get' ? 'get' : 'post' }}"
action="{{ $action }}"
{{ $attributes }}>
@if(strtolower($method) !== 'get')
@csrf
@endif
@if($spoofed)
@method($method)
@endif
{{ $slot }}
</form>