A Laravel and PHP Blog

Robust CSV export

Tutorials PHP & MySQL

This article will show you how to export data to a CSV format inside a PHP based project. 

Dan Sherwood

Format Xero dates from the API

Tutorials PHP & MySQL

Dates in Xero that are not already set to a datestring are in a format like Date(1518685950940+0000)

David Carr

Copy SSH key onto remote server

Tutorials Bash

Setting up a new project or starting work on a project which is new to you? Read on to discover the...

Dan Sherwood

Get the last day of the month from a date

Laravel Framework PHP & MySQL Tutorials

To get the last day of the month use date('t')

David Carr

Run tests on commit

PHPUnit Tests Tutorials Bash

Run your tests every time you commit changes.

David Carr

Add Laravel Valet certificate to Postman

Tools Development

When working with Postman on a local API served via Valet, you may run into the issue shown above, S...

Dan Sherwood

How Long Can You Buy A Domain Name For?

Hosting Domains Marketing Tools

How long do you have to buy a domain name before it expires? If you need the answer to that question...

Kerry Owston

8 Ways to Choose the Best Domain Name

Domains Marketing

Choosing the right domain name for your website can be difficult. You want to choose a good one that...

Kerry Owston

Setting up a new Mac checklist (2021 Edition)

Tools Development Design

Whenever I get a new Mac or decide to wipe it and start afresh the following are my go-to tools and...

David Carr

Integrate Laravel with Xero

Packages Laravel Framework Tutorials Development

I've created a video showing how to integrate Laravel with Xero using my Laravel Xero package

David Carr

Easily switch PHP versions with PHP Monitor


When you have multiple versions of PHP installed you may want to switch which version is being...

David Carr

Laravel Livewire testing download

Tutorials Laravel Framework Laravel Livewire

Testing Laravel Livewire downloads an expected download by comparing the download name with a respon...

David Carr

Import SweetAlert2 into Laravel with NPM

Laravel Framework Javascript Tutorials

SweetAlert2 is a great package for user-friendly alerts, normally I install by adding in script tags...

David Carr

Login with Microsoft Graph

Packages Laravel Framework Tutorials

In this post, I'll explain the process of using Microsoft Graph as a login process to allow user...

David Carr

Released Tailwindcss Admin theme

Design Development Tools

I've released a new Tailwindcss based theme for admin style applications, the theme is in pure H...

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.