Loading...
My process for writing Laravel packages

Laravel | packages

My process for writing Laravel packages

Introduction I was asked recently how I started when writing new Laravel packages. In this...

David Carr

12 min read -

Running HTTP requests in PhpStorm

2Articles1Week | http | Requests | PhpStorm | APIs

Running HTTP requests in PhpStorm

Running API tests you may be tempted to open PostMan or another API client, did you know,...

David Carr

3 min read -

Extracting a time into select menus with PHP

2Articles1Week | Explode | list

Extracting a time into select menus with PHP

When storing time in a database, often I'll store this in a time format such as 14:25:00 W...

David Carr

2 min read -

Vue show and hide form elements

2Articles1Week | Vue.js | forms | condition-rendering | Conditional statement

Vue show and hide form elements

Introduction When working with forms, it is common to display or conceal various fields ba...

David Carr

4 min read -

My PhpStorm Setup

PhpStorm | setup | 2Articles1Week

My PhpStorm Setup

Theme I use the New UI which is located at Appearance & Behaviour -> New UI Once turned o...

David Carr

2 min read -

VIM shortcuts

vim | vimrc | cheatsheet | 2Articles1Week

VIM shortcuts

VIM Modes There are multiple modes in vim, normal mode is loaded by default. Command mode....

David Carr

4 min read -

Laravel Extract Language to lang files

Laravel | package | languages | translation

Laravel Extract Language to lang files

If you've already used JSON lang in your views, here's a handy package to extract all lang...

David Carr

1 min read -

I'm writing a new Laravel book on testing called Laravel Testing Cookbook

Laravel | Testing | pestphp | PHPUnit | books

I'm writing a new Laravel book on testing called Laravel Testing Cookbook

Laravel Testing Cookbook will cover common use cases. Sign up for the waitlist to be notif...

David Carr

1 min read -

Adding pinned posts with Laravel

Laravel | posts | pinned

Adding pinned posts with Laravel

Let's say you have a blog and have posts ordered by their published date. Later you decide...

David Carr

2 min read -

Laravel Livewire Resources

Laravel-livewire | tools | packages | components

Laravel Livewire Resources

Laravel Livewire makes building interactive web applications easy! Laravel Livewire has am...

David Carr

2 min read -

Upload images in Ckeditor 5 with Laravel

CKEditor | Laravel

Upload images in Ckeditor 5 with Laravel

Base64 upload adapter Simple image adapter CKeditor 5 out-of-the-box does not come with...

David Carr

3 min read -

Dev Retro 2022 - My reflections

#DevRetro2022

Dev Retro 2022 - My reflections

In this post, I want to reflect on my journey as a developer over the last year. I publish...

David Carr

3 min read -

Setup Jira for managing scrum Sprints from scratch

Sprints | JIRA | project management

Setup Jira for managing scrum Sprints from scratch

This post is very opionated, this covers how I like to work with sprints, you may work ver...

David Carr

11 min read -

PHP Generate a UL menu from an array

UL | array | menu | Recursive function | PHP

PHP Generate a UL menu from an array

Take an array and build a menu UL list from it. The array should support top-level as well...

David Carr

3 min read -

Write an SEO-Friendly Title: A Quick Start Guide

SEO | SEO for Developers

Write an SEO-Friendly Title: A Quick Start Guide

As a website owner or content creator, you know how important it is to write great titles....

David Carr

3 min read -

Use PHP to generate table of contents from heading tags

toc | PHP

Use PHP to generate table of contents from heading tags

I wanted to create a table of contents from the post's heading tags automatically without...

David Carr

1 min read -

Running Docker on M1 Mac - docker: compose is not a docker

M1 Mac | Laravel | Docker | sail

Running Docker on M1 Mac - docker: compose is not a docker

When upgrading from an Intel mac to an Apple Silicone I noticed docker fails to run. I'm u...

David Carr

1 min read -

Using Laravel Sail alongside PhpStorm

sail | Laravel | Docker | PhpStorm

Using Laravel Sail alongside PhpStorm

Packages Laravel Framework I'm trying out Laravel Sail for my local development, this post...

David Carr

2 min read -