Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

itcnet's avatar

itcnet liked a comment+100 XP

3w ago

Laravel From Scratch (2026 Edition): Ep 32, Construct The Idea Form

icons/close.blade.php

<svg {{ $attributes }} width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="Close">
  <path d="M18 6 6 18"></path>
  <path d="m6 6 12 12"></path>
</svg>
itcnet's avatar

itcnet liked a comment+100 XP

3w ago

Laravel From Scratch (2026 Edition): Ep 30, Show A Single Idea

external.blade.php

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
    stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
    class="lucide lucide-external-link-icon lucide-external-link">
    <path d="M15 3h6v6" />
    <path d="M10 14 21 3" />
    <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
</svg>

itcnet's avatar

itcnet liked a comment+100 XP

3w ago

Laravel From Scratch (2026 Edition): Ep 30, Show A Single Idea

arrow-back.blade.php

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
    class="lucide lucide-arrow-left-icon lucide-arrow-left">
    <path d="m12 19-7-7 7-7" />
    <path d="M19 12H5" />
</svg>

itcnet's avatar

itcnet wrote a comment+100 XP

4mos ago

Everything New in Livewire 4: Ep 6, Browser Testing

On Windows, you need to do it this way:

->type('[wire\\:model="title"]', 'Test Title')
->type('[wire\\:model="content"]', 'Test Content')
itcnet's avatar

itcnet wrote a comment+100 XP

4mos ago

Everything New in Livewire 4: Ep 3, Page Components

<label class="block space-y-2">
    <p
        class="inline-flex items-center text-sm font-medium [:.where(&)]:text-zinc-800 [::where(&)]:dark:text-white [&:has([aria-invalid='true'])]:text-red-500">
        Title
    </p>
    <input type="text"
        class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-" />
</label>


<label class="block space-y-2">
    <p
        class="inline-flex items-center text-sm font-medium [:.where(&)]:text-zinc-800 [::where(&)]:dark:text-white [&:has([aria-invalid='true'])]:text-red-500">
        Content
    </p>
    <textarea
        class="block p-3 w-full shadow-xs disabled:shadow-none border rounded-lg bg-white dark:bg-dark"></textarea>
</label>

<button type="submit"
    class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-7">
    Save
</button>