DC Blog

DC Blog

Followers: 328

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.

Working with bank holidays with a Carbon wrapper

Working with dates in php is easy but working with bank holidays is a little more involved...

David Carr

1 min read -

Using Carbon time ago aka diffForHumans() with Nova Framework

Carbon is an amazing date library that is included with Nova. One of it’s features is bein...

David Carr

1 min read -

Fixing Chrome Syncing problem

Recently I reinstalled Google Chrome signed into my Google account to sync my passwords. M...

David Carr

1 min read -

MySQL next record order by title

A common requirement for web applications is the ability to be able to move to the next an...

David Carr

1 min read -

MySQL find and replace

There are times when you need to bulk update a database. Such as changing all references o...

David Carr

1 min read -

Free SSL's with A2hosting and Let's Encrypt

Recently many browsers will start flagging sites that do not use the HTTPS protocol as uns...

David Carr

1 min read -

Using MAMP and dealing with the error: mysql No such file or directory

I’ve got a fresh install of Nova Framework installed and decided to use MAMP as my server...

David Carr

1 min read -

Creating an alias in terminal

I often run local sites from a projects folder that is stored in a dropbox folder the full...

David Carr

1 min read -

Splitting an array into smaller arrays using array_chunk

There a times when you have an array and need to slit that array into smaller ones, I usua...

David Carr

1 min read -

Get a free SSL certificate using Cloudflare

Cloudflare will give you a free SSL certificate, the steps involved are really simple, thi...

David Carr

2 min read -

Quick way to get the number of days in a month with PHP

I’m building a php calendar and need to know the total number of days in a month in the pa...

David Carr

1 min read -

Cases where php's short tags should be avoided

When designing my email layout files I like to break them down into parts and include them...

David Carr

1 min read -

My office setup

At work we recently moved into a new building, my desk setup changed as a result a few peo...

David Carr

2 min read -

Using X-editable for inline editing

X-editable allows you to create editable elements on your page. Includes both popup and in...

David Carr

3 min read -

Bear writing app for iPhone, iPad and Mac

I’ve heard a lot of people talking about how good a writing app called Bear was, after hea...

David Carr

1 min read -

Stop Bootstrap drop menu's being cut off in responsive tables

Bootstrap’s dropdown menu’s a great for display items in a tidy way but suffer for being c...

David Carr

1 min read -

Laravel 5.3 login with username instead of email

Laravel’s built in auth system uses an email address and password to validate credentials...

David Carr

1 min read -

Laravel 5.3 send errors to email

Errors in Laravel are logged to files. That’s useful for monitoring when things go wrong....

David Carr

1 min read -

Next Page

Copyright © 2025 DC Blog - All rights reserved.