A Laravel and PHP Blog

Eliminate SEO errors from your website with these 3 tactics

SEO

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

Kerry Owston


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

Demos Blog PHP & MySQL Tutorials

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

David Carr


Creating a blog from scratch with PHP - Part 7 Tags

Demos Blog PHP & MySQL Tutorials

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

David Carr


Support me, become a Patreon!

Personal

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

David Carr


Stripe change pay panel label

Stripe API

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

David Carr


GitHub use a single SSH key for all repositories

Development

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

David Carr


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

Laravel Framework PHP & MySQL Tutorials

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

David Carr


Laravel Importing SQL dumps with seeds

Laravel Framework PHP & MySQL Tutorials

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

David Carr


My top VS Code Extensions (Plugins)

Tools

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

David Carr


Laravel apply a query constraint with global scopes

Laravel Framework PHP & MySQL Tutorials

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

David Carr


Laravel set default value for creating model instances

Laravel Framework PHP & MySQL Tutorials

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

David Carr


Financial year select menu

PHP & MySQL Tutorials

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

David Carr


Regular expression to convert usernames into links like Twitter

PHP & MySQL Tutorials

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

David Carr


A Brief Introduction to Gulp

Javascript Tutorials

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

Dan Sherwood


Laravel storing mailables

Laravel Framework PHP & MySQL Tutorials

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

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.