David Carr

David Carr

Followers: 317

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.

Laravel how to test CSV download

Laravel | Testing

Laravel how to test CSV download

When you have a CSV generated how do you test it runs. Take this extract: public function...

David Carr

2 min read -

Laravel organise migrations into folders

Laravel | migrations

Laravel organise migrations into folders

When a project grows the migrations folder can contain a lot of migration, ever wanted to...

David Carr

1 min read -

Laravel how to set app environment during tests

Laravel | Testing | Environment

Laravel how to set app environment during tests

If you need to set an environment to be a specific one such as staging you can override th...

David Carr

1 min read -

Laravel Sync Remote Database Package

Laravel Sync Remote Database Package

I often want to sync a production database into a local database and manually exporting an...

David Carr

1 min read -

How to Drive Traffic to Your Website in 2022: Tips for Web Developers

How to Drive Traffic to Your Website in 2022: Tips for Web Developers

As any web developer knows, getting traffic to your site is essential. Without visitors, y...

David Carr

5 min read -

Test Laravel Packages with PestPHP

Laravel | Testing | pestphp | package

Test Laravel Packages with PestPHP

PestPHP is a testing framework with a focus on simplicity, in this post I'll explain how t...

David Carr

2 min read -

Generate PDF and Epub files using Pandoc

pdf | epub | Pandoc

Generate PDF and Epub files using Pandoc

I write my books using Markdown. Using a tool called Pandoc you can convert Markdown files...

David Carr

2 min read -

Released Laravel TALL AdminTW theme

Laravel | Laravel-livewire | alpinejs | Tailwind CSS | theme

Released Laravel TALL AdminTW theme

Laravel TALL AdminTW is a minimal Livewire theme styled with TailwindCSS. Laravel AdminTW...

David Carr

3 min read -

My Terminal Aliases

My Terminal Aliases

What is a terminal alias? A terminal alias is a shortcut for a terminal command. For examp...

David Carr

5 min read -

Mockery 1 Illuminate Console OutputStyle askQuestion() but no expectations were specified

Mockery 1 Illuminate Console OutputStyle askQuestion() but no expectations were specified

When running a PESTPHP test if you come across this error: Received Mockery_1_Illuminate_...

David Carr

1 min read -

Laravel Security Headers

Laravel Security Headers

Laravel Security Headers This weekend, I changed the design of this blog whilst doing so I...

David Carr

3 min read -

Livewire clear modal on close

Laravel-livewire | Laravel

Livewire clear modal on close

When you have a model that's been partially filled and a modal is closed using Alpine ie:...

David Carr

1 min read -

Livewire confirm Sweet Alert

Laravel | Laravel-livewire

Livewire confirm Sweet Alert

Using Sweet alerts with Livewire is possible by triggering events from Livewire / AlpineJs...

David Carr

1 min read -

Image intervention - Image source not readable

Laravel

Image intervention - Image source not readable

When using intervention package for uploading images you may come across this error when u...

David Carr

1 min read -

Fatal: Authentication failed (on git push)

Fatal: Authentication failed (on git push)

Problem Lost authentication from BitBucket resulting in invalid credentials. Pushing to Bi...

David Carr

1 min read -

Testing dynamic file uploads with Laravel

Laravel | Laravel-livewire | Testing

Testing dynamic file uploads with Laravel

When working with file uploads where the file name is generated, how do you know what the...

David Carr

1 min read -

New Laravel Package: Laravel Module Generator

Laravel | package | modules | generators

New Laravel Package: Laravel Module Generator

I've been working on a new package for a few weeks, this goes hand in hand with Laravel Mo...

David Carr

2 min read -

Laravel Modules new docs website

Laravel | modules | documentation

Laravel Modules new docs website

I've recently started helping Nicolas Widart with his awesome package Laravel Modules I've...

David Carr

1 min read -

Next Page

Copyright © 2024 DC Blog - All rights reserved.