Articles tagged: Laravel Tips

Clear
Laravel Aug 29, 2022 1 min read

Generate Unique Random Numbers in Laravel

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.

Laravel Jul 15, 2022 1 min read

Check if Laravel Table Exists

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.

Laravel May 30, 2022 1 min read

Get Model Table Name in Laravel

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...

Laravel May 30, 2022 1 min read

Verify in Laravel Password is not Compromised in Data Leak

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.

Laravel May 28, 2022 3 min read

Implement Laravel Strong Password in the Validation Rule

In this post, you will learn how to implement Laravel's strong password in the validation rule without extra coding.

Laravel May 28, 2022 1 min read

How To Protect .env file in Laravel using Shared Hosting

Protect the Laravel application .env file that is accessible in the browser when using shared hosting.

Laravel Jun 14, 2022 2 min read

Laravel 9 Eloquent Query first() and firstOrFail() Example

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...

Laravel Jun 14, 2022 1 min read

Laravel 9 Eloquent Query find() and findOrFail() Example

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.

Laravel Sep 12, 2021 1 min read

Laravel 8 Eloquent firstOr() Example

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...

Laravel Sep 12, 2021 2 min read

Laravel 8 Eloquent firstOrNew() Example

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...

Laravel Jun 06, 2022 2 min read

Laravel 9 Eloquent updateOrCreate() Example

In this post, I will explain what is the usage of Laravel 9 Eloquent updateOrCreate() and its importance. Laravel provides updateOrCreate() that usefu...

Laravel Sep 12, 2021 2 min read

Laravel 8 Eloquent firstOrCreate() Example

In this post, I will explain what is the usage of Laravel Eloquent firstOrCreate() and its importance. Laravel provides firstOrCreate() to help us to...

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More