David Carr

David Carr

Followers: 326

Hi, I’m Dave. A Laravel Developer. I love to build Laravel apps using the TALL stack.

Read articles directly inside your inbox. Subscribe to the newsletter, and don't miss out.

charity | Cancer | running

Run 100 Miles October 2024

Hi there, I'm taking part in Run 100 Miles October 2024 to support Young Lives vs Cancer t...

David Carr

1 min read -

phpstan | static code analysis | Laravel

Mastering PHPStan: Common Errors and How to Fix Them

PHPStan is a static analysis tool for PHP that focuses on finding bugs in your code withou...

David Carr

4 min read -

Git | git stash | git pop | git apply

Git Stashing Explained

Stashing Changes When working on a project, you might find yourself in a situation where y...

David Carr

2 min read -

ui kits | tall | Livewire

Enhance Your Web Applications with These Livewire UI Kits

Are you looking to enhance your Laravel Livewire projects with top-notch UI components? Lo...

David Carr

4 min read -

Stripe Mock | Stripe Integration | stripe | Laravel

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 b...

David Carr

2 min read -

composer.json | scripts

How to Organize Composer Scripts Effectively

What is a composer script? A composer script is a set of custom commands defined in a comp...

David Carr

2 min read -

tailwind fold | plugins | PhpStorm | vscode

Toggle classes from your markup in PhpStorm and VSCode

Working with TailwindCSS will result in a lot of classes being added to your HTML. This ca...

David Carr

1 min read -

Tailwind CSS | alpinejs | mobile | menu | Responsive Web Design | navbar

How to toggle a mobile menu with Tailwind and AlpineJS

Making a mobile and desktop menu is something that is is super simple to do with Tailwind...

David Carr

4 min read -

headless cms | HeadlessHashnode | templates | Laravel | GraphQL

Customize Your Hashnode Blog Frontend with Headless Frontend and Laravel

I've built a new site called headlessfrontend.dev See video version https://www.youtube.co...

David Carr

2 min read -

Filter | enum | Testing | pestphp

PHP use an enum for Filters

I have a class that allows filtering based on an option, I need a way to accept options an...

David Carr

2 min read -

Composer Scripts: Boosting Your Team's Efficiency

Hey there! Today, we're diving into the world of Composer scripts and exploring their unta...

David Carr

3 min read -

GitHub

GitHub patch release previous version

On Github you way from time to time need to patch release the previous version of a publis...

David Carr

1 min read -

Laravel | console | Commands

How to disable Laravel console commands

Suppose you find yourself in a situation where you need to disable or intercept a console...

David Carr

2 min read -

Blogging

15 years of blogging 500 posts later

You know, it's funny how the big milestones can sneak up on us. Just as I was putting the...

David Carr

3 min read -

podcasts

The podcasts I listen to as a PHP developer

The following are the podcasts I listen to. In no particular order. (That have episodes re...

David Carr

3 min read -

Laravel | yield | include | slots | layouts

Creating Flexible Layouts in Laravel with Yields, Includes, and Slots

Yields In Laravel, the @yield directive is used in blade templates to define a section tha...

David Carr

7 min read -

code-reuse | Laravel | traits

Enhancing Laravel Applications with Traits: A Step-by-Step Guide

What are traits? Traits are a mechanism for code reuse. Traits allow you to create methods...

David Carr

4 min read -

Laravel | routes | nested | placeholders

Laravel ApiResouce name nested route placeholder

When using an ApiResource that has more than one placeholder it may seem tricky to figure...

David Carr

2 min read -

Next Page

Copyright © 2024 DC Blog - All rights reserved.