Paulund

Paulund @paulund

About: Full Stack Engineer I post about #Laravel #PHP and Software engineering on https://paulund.co.uk Working on a website monitoring tool - https://upchecker.app

Location:
Bristol
Joined:
Dec 26, 2022

Paulund
articles - 33 total

Extend Laravel Optimize Command

The Laravel Optimize command is a command that is used to optimize the Laravel application. It is...

Learn More 0 0Feb 9

Prunable Eloquent Models

Since Laravel 8.5 there was a trait added to the framework that will allow you to prune models based...

Learn More 1 0Dec 6 '24

Laravel Create Virtual Database Column

In this article we're going to learn how to create a virtual database column in Laravel. ...

Learn More 3 0Jun 23 '24

Laravel Polymorphic Models By Type

I needed a better way of handling different model types based on a single database table. The...

Learn More 3 0May 30 '24

Laravel Immutable Carbon Dates

In this article we're going to look at the Carbon data class in laravel and how we can change the...

Learn More 4 0May 29 '24

Auto Generate Open Graph Images With Laravel

Laravel is a popular PHP framework that makes it easy to build web applications. In this article, we...

Learn More 1 0May 28 '24

Display Flash Messages Using Laravel and Inertia

In Laravel it's common practise to after a form submit to redirect the user back to the form page and...

Learn More 2 0May 26 '24

Only Use Env() In Config Files

When working with Laravel you may find yourself needing to access environment variables in your...

Learn More 0 1May 23 '24

Disable Vite During Testing in Laravel

I recently had a project where I wanted github actions to run the tests of a laravel project but i...

Learn More 1 0May 22 '24

Performance Metrics Using Guzzle

In this article we're going to investigate how you can track performance metrics using Guzzle. Guzzle...

Learn More 0 0May 20 '24

Auto Generate Open Graph Images in NextJS

Next.js has a feature that allows you to generate Open Graph images using code. This feature is...

Learn More 16 2May 20 '24

Creating Custom Laravel Collections

Laravel collection are a powerful tool to work with arrays and data. They provide a fluent,...

Learn More 2 0May 17 '24

TypeScript Type vs Interface

In this article we're going to investigate what is the difference between TypeScript type and...

Learn More 2 0May 8 '24

ReactJS onClick Event on Child Components

In this article we're going to investigate how to handle the onClick event on a child component...

Learn More 1 0May 7 '24

Creating a Local Laravel Package

Laravel packages are a great way to encapsulate reusable code and share it across multiple projects....

Learn More 1 1May 3 '24

React Hooks

useState The useState hook is used to add state to a function component. This hook must be...

Learn More 1 1May 2 '24

NextJS Add Metadata

In this post, we'll add metadata to our NextJS blog to help search engines discover and index our...

Learn More 1 0May 1 '24

NextJS Add XML Sitemap

An XML sitemap is a file that lists all the URLs for your site, it helps search engines discover and...

Learn More 0 0Apr 30 '24

NextJS Add RSS Feed to Blog

Every blog can benefit from adding an RSS feed, it allows users to subscribe to your blog and get...

Learn More 3 1Apr 29 '24

Laravel Log DB Queries

In this article we're going to look at how you can log all database queries that are executed within...

Learn More 9 2Apr 29 '24

NodeJS ENV Support

Starting from Node.js v20.6.0, Node.js supports .env files for configuring environment...

Learn More 0 1Apr 24 '24

Laravel Log Missing Translation Strings

Laravel has built-in functionality for dealing with translations. You can store arrays for language...

Learn More 0 0Apr 23 '24

The Builder Design Pattern

One of the most popular design patterns is the Builder pattern. The Builder pattern is used to create...

Learn More 0 0Apr 22 '24

Mastering SOLID Principles

SOLID is a set of principles that can help you design and write better object-oriented code. These...

Learn More 0 0Apr 19 '24

Singleton Design Pattern

Singleton is a design pattern that lets you ensure that a class only has one instance, while also...

Learn More 0 0Apr 17 '24

How to Manage Multiple SSH Keys for Different GitHub Accounts

I use one computer for both my personal and business projects. This means I have multiple github...

Learn More 8 2Apr 16 '24

How to debug axios requests

When working with APIs in your Javascript application it can be useful to be able to debug the...

Learn More 5 0Apr 15 '24

Github PR Template

A common issue with working in a team on a project is dealing with Pull Requests that don't have the...

Learn More 2 0Apr 12 '24

Flatten Nested Arrays With PHP

Here is a quick code snippet for flattening a multi-dimensional array using PHP. This uses the...

Learn More 0 0Apr 11 '24

Using Mailhog via Docker For Development

When you're developing your application locally you might want to send emails to users of your...

Learn More 0 0Apr 10 '24