If you thinking about how to generate unique random numbers in Laravel from your database this. Then this post could help you to do that.
For whatsoever reason, you may want to check the existence of a table in your database. Learn how to achieve this in Laravel using the Schema class.
I will show you how to get the model table name in Laravel. In my previous tasks, I generated all the models and display all tables from the models I...
In this post, you will learn how to verify in Laravel Password validation if the password submitted is not in the data leak and is still safe to use.
In this post, you will learn how to implement Laravel's strong password in the validation rule without extra coding.
Protect the Laravel application .env file that is accessible in the browser when using shared hosting.
In this Laravel example, I'm sharing the first() and firstOrFail() methods on the Laravel 8 Eloquent query. And show you how this is important in doin...
In this post, I will share how to use the find() and findOrFail() methods in the Laravel Eloquent query and the different usage of these methods.
In this post, I will explain what is the usage of Laravel Eloquent firstOr() and its importance. Laravel provides firstOr() that enables us to put ano...
In this post, I will explain what is the usage of Laravel Eloquent firstOrNew() and its importance. Laravel provides firstOrNew() will help us to chec...
In this post, I will explain what is the usage of Laravel 9 Eloquent updateOrCreate() and its importance. Laravel provides updateOrCreate() that usefu...
In this post, I will explain what is the usage of Laravel Eloquent firstOrCreate() and its importance. Laravel provides firstOrCreate() to help us to...