Skip to content
duane blake

Laravel

Practical Laravel notes — from Eloquent and Livewire to scheduling, sessions and deployment.

9 posts · 2014 → 2025

2025

2 posts
  1. How to automatically delete old records in Laravel There may be circumstances in your application where you need to delete old or no longer needed data. This could be for reasons such as improving performance or keeping your data fresh. Laravel has a trait which is perfect for this called Prunable, which allows you to set up a command to delete records from…
  2. How to add a custom font to your Laravel project There may be occasions when you have to use a custom font, such as a brand font, in your Laravel Project. I’m going to go through the steps for adding a custom font to your project.

2024

1 post
  1. How to update input values dynamically based on another input with Laravel and Livewire One of the things I love about modern development tools and frameworks is how they make it so easy to do simple features. Years ago, these sorts of things I’m about to show would be some jQuery gymnastic with a prayer that it works in IE. Updating another value based on input in Livewire is…

2023

1 post
  1. Using the ChatGPT API to create a tweet from content on a URL With all the talk going around with Chat GPT and the latest development with AI. I decided to spend some time looking at using the API to create a very small MVP. The aim was to spend a couple of hours building a app. Where a user provides a URL and then selects from a…

2022

1 post
  1. How to set a user session time in Laravel By default Laravel when logging a user into a website the session time is set to 120 minutes. They may be instances where you need this increased. As with most things in Laravel Its straight forward to do.

2020

1 post
  1. Using Laravel Envoyer with RunCloud for Laravel projects I’m going to go through the steps I use to set up a Laravel application in Runcloud. I’m going to assume that you already have a server instance setup and you are familiar with both Runcloud and Envoyer.

2016

1 post
  1. Using Rollbar with Laravel and Laravel Envoyer I stumbled across a great application called Rollbar which logs application error in a variety of languages such as Php, Perl, Javascript and Ruby to name but a few. It also has integration with Trello, Slack and Github.

2015

1 post
  1. Sending out automated tweets in Laravel Sending out automated tweets is really easy for a Laravel using the CodeBird package. I’ve wrote a quick guide how to do this which you may find useful for you site.

2014

1 post
  1. Creating XML sitemaps in Laravel In a world where Penguin and Panda can cripple your organic traffic to your site.