Skip to content

Instantly share code, notes, and snippets.

@MrTomek
MrTomek / EloquentCheatSheet.md
Last active June 27, 2024 08:43 — forked from avataru/EloquentCheatSheet.md
Eloquent relationships cheat sheet
@gwleuverink
gwleuverink / progress-bar.blade.php
Last active July 10, 2025 21:05
Progress bar blade component
@props([
'percentage' => 0,
'failed' => false
])
@php
$done = $failed || $percentage == 100;
@endphp
<div {{ $attributes->merge(['class' => ' space-y-1'])->whereDoesntStartWith('wire:poll') }}