17th Mar 2025 • David Carr Implementing a Dark Mode Toggle in Laravel with Tailwind CSS 4 TailwindCSS 4 out the box supports prefers-color-scheme CSS media feature, I want class based dark m... Read more
10th Feb 2025 • David Carr Consistent API error handling in Laravel In API development, providing clear and structured error responses is crucial for a seamless develop... Read more
14th Jan 2025 • David Carr Effortlessly Trigger Modals with Session Flash in Laravel Here’s a dead simple way of triggering a model to show or anything really from a controller… Read more
26th Aug 2024 • David Carr Mocking Stripe in Laravel with Stripe Mock Server If you've ever tried to test your Stripe integration, you'll know how challenging it can be. The Str... Read more
27th May 2024 • David Carr Customize Your Hashnode Blog Frontend with Headless Frontend and Laravel The first focus is using [Hashnode's API](https://hashnode.com/headless) to pull in your posts and p... Read more
5th Feb 2024 • David Carr How to disable Laravel console commands Suppose you find yourself in a situation where you need to disable or intercept a console command in... Read more
18th Jan 2024 • David Carr Creating Flexible Layouts in Laravel with Yields, Includes and Slots In Laravel, the @yield directive is used in blade templates to define a section... Read more
17th Jan 2024 • David Carr Enhancing Laravel Applications with Traits: A Step-by-Step Guide Traits are a mechanism for code reuse. Traits allow you to create methods that can be used in multip... Read more
11th Jan 2024 • David Carr Laravel ApiResouce name nested route placeholder When using an ApiResource that has more than one placeholder it may seem tricky to figure out how to... Read more
23rd Mar 2023 • David Carr Laravel Extract Language to lang files If you've already used JSON lang in your views, here's a handy package to extract all lang k... Read more
30th Jan 2023 • David Carr Adding pinned posts with Laravel Let's say you have a blog and have posts ordered by their published date. Later you decide you w... Read more
22nd Jan 2023 • David Carr Laravel Livewire Resources A collection of tools, packages and courses Read more
21st Jan 2023 • David Carr Upload images in Ckeditor 5 with Laravel CKeditor 5 out of the box does not come with upload capabilities. Uploading is supported with its pl... Read more
12th Nov 2022 • David Carr Using Laravel Sail alongside PhpStorm I'm trying out Laravel Sail for my local development, this post serves as documenting the proces... Read more
12th Nov 2022 • David Carr Handle Stripe checkout webhooks Continuing on from my last post Sell products with Stripe let's first setup a webhook... Read more