A Laravel and PHP Blog


Laravel organise migrations into folders

Laravel Framework Tutorials

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

David Carr


Laravel how to set app environment during tests

Tests Laravel Framework

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

David Carr


Laravel Sync Remote Database Package

Laravel Framework Packages

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

David Carr


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

SEO Marketing Content Marketing

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

Kerry Owston


Test Laravel Packages with PestPHP

Pest PHP Tests

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

David Carr


Generate PDF and Epub files using Pandoc

Tutorials Bash

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

David Carr


Released Laravel TALL AdminTW theme

Development Tools

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

David Carr


My Termial Aliases

Tutorials Bash

Aliases are a great way to be more efficient at using a terminal for common commands.

David Carr



Laravel Security Headers

Laravel Framework Development

This weekend, I changed the design of this blog whilst doing so I wanted to add the security headers...

David Carr


Livewire clear modal on close

Laravel Livewire

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

David Carr


Livewire confirm Sweet Alert

Laravel Livewire

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

David Carr


Image intervention - Image source not readable

Laravel Framework

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

David Carr


Fatal: Authentication failed (on git push)

BitBucket

Lost authentication from BitBucket resulting in invalid credentials....

David Carr


Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.