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…
Tag
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…
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…
In Laravel, roles and permissions have been one of the most confusing topics over the years. Mostly, because there is no documentation about it: the same things “hide” under other terms in the framework, like “gates”, “policies”, “guards”, etc. In…
For those who haven’t actively used Service Providers in Laravel, it’s a mystical “term”: what “service” do they actually “provide”, and how exactly does it all work? I will explain it in this article. Default Laravel Service Providers Let’s start…
Roach PHP is a complete web scraping toolkit for PHP. Not only does it handle the crawling of web content, but it also provides an entire pipeline to process scraped data, making it an all-in-one resource for scraping web pages with…
Laravel provides many excellent helper functions that are convenient for doing things like working with arrays, file paths, strings, and routes, among other things like the beloved dd() function. You can also define your own set of helper functions for your Laravel applications and…
The orhanerday/open-ai package is a PHP SDK for accessing the OpenAI GPT-3 API. It supports the complete, search, answer, classification, and engine APIs. Here’s an example of using the OpenAI classification API with this package: You’ll get back the following classification for…
Q:- What is Object Oriented Programming? Object oriented programming is a programming technique to design your application. Application can be of any type like it can be web based application, windows based application etc. In object oriented programming, everything revolves…