Duane Blake

Front end developer

Category: Laravel

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 a simple process with modern frameworks like Livewire and Laravel.

Livewire mascot

Using the Chat GPT 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 list of predefined tones from the site, the site would then generates the tweet on that link with the chosen tone.

Using the Chat GPT API to create a Tweet from content on a URL

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.

How to set a user session time in Laravel

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.

Using Rollbar with Laravel and Laravel Envoyer