Tools

Is GDPR set to be the death of WHOIS?

Domain registrars are getting scared. Understandably so as the threat of hefty fines for not meeting...

Kerry Owston


SEO

Get premium keyword research without the price tag

If your trying to be found in Search engines your going to need to invest some time into keyword res...

Kerry Owston


SEO

Eliminate SEO errors from your website with these 3 tactics

SEO can be tricky, sometimes it can feel like everything is done right but still your website is not...

Kerry Owston


Demos | Blog | PHP & MySQL | Tutorials

Creating a blog from scratch with PHP - Part 8 Tags Sidebar

In the last tutorial we created the ability for having tags for each post, this part will conti...

David Carr


Demos | Blog | PHP & MySQL | Tutorials

Creating a blog from scratch with PHP - Part 7 Tags

In this part, I will explain how to add the ability to add tags the posts, how to display them and s...

David Carr


Personal

Support me, become a Patreon!

I've joined patreon.com if you've ever wanted to help support my blog and efforts...

David Carr


Stripe API

Stripe change pay panel label

When using Stripe's connect js you may want to change the button text both on the main button an...

David Carr


Development

GitHub use a single SSH key for all repositories

When using SSH with GitHub you'll often need to add deploy keys to the repo to allow read a...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

How Laravel's optional() helper can keep your pages running

If you've ever used Laravel ORM to create a relationship between tables you will have come acros...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel Importing SQL dumps with seeds

Seeding with Laravel is really useful for populating the database for instance a typical u...

David Carr


Tools

My top VS Code Extensions (Plugins)

I've recently switched from using Submit Text full time to VS Code, I'm really enjoying the...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel apply a query constraint with global scopes

Imagine your building a multi-tenancy application, in your controller your using a Contacts model ev...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel set default value for creating model instances

Often when creating records with the ORM you'll set the same keys every time, in this cases you...

David Carr


PHP & MySQL | Tutorials

Financial year select menu

Financial years start from April to March, a common requirement is to be able to select a financial...

David Carr


PHP & MySQL | Tutorials

Regular expression to convert usernames into links like Twitter

When using plain textareas it's useful to link usernames in the format as @name but wo...

David Carr


Javascript | Tutorials

A Brief Introduction to Gulp

Gulp is a frontend task manager. In the simplest of terms, it is a tool which saves you from perform...

Dan Sherwood


Laravel Framework | PHP & MySQL | Tutorials

Laravel storing mailables

Laravel's Mailable emails are perfect for sending rich HTML emails, there are times when you nee...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel retrieving records in a random order

Retrieving records in a random order is simple with MySQL using the RAND() function but it's not...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel show zeros when using zerofill in Eloquent

When using Eloquent leading zeros are removed from integers data types. This is a problem when you w...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel login as user without their password

There are times you want to log in as another user to test their user permissions, you'll want t...

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel add custom exception handling

Laravel comes with support for many types of exceptions, some are handled to load a 404 page others...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

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