Banhammer for Laravel offers a simple way to ban any Model by ID and IP; it also allows blocking requests by IP addresses. Once your application bans users, you can use the provided middleware to prevent banned users from accessing certain…
Laravels routes files can get pretty busy. Before you know it, you have to search within the routes file to find anything. How do you combat this, though? You can approach this in many ways, depending on how you would…
Features Chat Mode Setup Install Step 1: Create a Discord bot Step 2: Geanerate a OpenAI API key Step 3: Run the bot on the desktop Step 3: Run the bot with Docker Have a good chat! Optional: Setup starting…
AI is a buzzword, or is it something we should be thinking about? With the release of the OpenAI package, we can dive into AI-powered Laravel applications So, what is OpenAI? What can we do with it? Mostly this is…
Back in October, Nuno Maduro released an OpenAI PHP Client and this week he announced a brand Laravel integration called OpenAPI Laravel. On Twitter Nuno said, “OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the…
Validation is a must-have for any modern project, and in Laravel, it is super simple to get started. Within your controller methods, you can call a method, pass in the request, and an array of the rules you wish to…
Password generation is something we all think about doing at some point, but how can we go about doing it – and making these passwords easy to remember and secure? In this tutorial, I will walk you through how I…
JavaScript uses three dots (…) for both the rest and spread operators. But these two operators are not the same. Spread operator: The spread operator helps us expand an iterable such as an array where multiple arguments are needed, it…
Today, we’ll cover the step-by-step process of building a Laravel CRUD (Create, Read, Update, Delete) web application from scratch. You will learn step-by-step instructions on how to create a straightforward CRUD operation app in Laravel 9 and how to validate,…
Over the years, as developers, we have always looked for ways that we can automate our documentation, from PHPDoc to Swagger and beyond. In recent years that has been a significant shift in the API world to adopt a more…