The Laravel Optimize command is a command that is used to optimize the Laravel application. It is...
Since Laravel 8.5 there was a trait added to the framework that will allow you to prune models based...
In this article we're going to learn how to create a virtual database column in Laravel. ...
I needed a better way of handling different model types based on a single database table. The...
In this article we're going to look at the Carbon data class in laravel and how we can change the...
Laravel is a popular PHP framework that makes it easy to build web applications. In this article, we...
In Laravel it's common practise to after a form submit to redirect the user back to the form page and...
When working with Laravel you may find yourself needing to access environment variables in your...
I recently had a project where I wanted github actions to run the tests of a laravel project but i...
In this article we're going to investigate how you can track performance metrics using Guzzle. Guzzle...
Next.js has a feature that allows you to generate Open Graph images using code. This feature is...
Laravel collection are a powerful tool to work with arrays and data. They provide a fluent,...
In this article we're going to investigate what is the difference between TypeScript type and...
In this article we're going to investigate how to handle the onClick event on a child component...
Laravel packages are a great way to encapsulate reusable code and share it across multiple projects....
useState The useState hook is used to add state to a function component. This hook must be...
In this post, we'll add metadata to our NextJS blog to help search engines discover and index our...
An XML sitemap is a file that lists all the URLs for your site, it helps search engines discover and...
Every blog can benefit from adding an RSS feed, it allows users to subscribe to your blog and get...
In this article we're going to look at how you can log all database queries that are executed within...
Starting from Node.js v20.6.0, Node.js supports .env files for configuring environment...
Laravel has built-in functionality for dealing with translations. You can store arrays for language...
One of the most popular design patterns is the Builder pattern. The Builder pattern is used to create...
SOLID is a set of principles that can help you design and write better object-oriented code. These...
Singleton is a design pattern that lets you ensure that a class only has one instance, while also...
I use one computer for both my personal and business projects. This means I have multiple github...
When working with APIs in your Javascript application it can be useful to be able to debug the...
A common issue with working in a team on a project is dealing with Pull Requests that don't have the...
Here is a quick code snippet for flattening a multi-dimensional array using PHP. This uses the...
When you're developing your application locally you might want to send emails to users of your...