JohnDivam

JohnDivam @johndivam

About: Focus on delivering high-quality solutions. #Laravel . Wye Team

Joined:
Jul 11, 2023

JohnDivam
articles - 17 total

Filament How to redirect to list page after (create,update) using Trait

To redirect to the list page after creating or updating a resource in Filament v3, you can use a...

Learn More 7 2Aug 22 '24

Laravel Filament: get resource table data by authenticated id

To restrict the display of resources in a Filament resource based on the user_id of the authenticated...

Learn More 3 0Jul 2 '24

Filament: add a confirmation password field in a form

To add a confirmation password field in a form, you typically want to ensure that the user correctly...

Learn More 8 3Jun 26 '24

Laravel Scope to get locations nearest the user location

In many web applications, particularly those that involve mapping or location-based services, it is...

Learn More 17 2Jun 14 '24

Laravel routes: apiResource vs resource

Laravel routes application: using apiResource and resource. These methods help you create routes for...

Learn More 14 0Sep 18 '23

Laravel 4Ways to Select specific columns

select specific columns from a database table using various methods provided by the Eloquent ORM...

Learn More 2 0Sep 18 '23

How to Integrate Twitter OAuth 2.0 in PHP + Direct Messages

To integrate Twitter OAuth 2.0 in PHP and access direct messages (DMs), you'll need to follow these...

Learn More 8 0Sep 11 '23

Laravel WithSum() on hasManyThrough->where relationship

In Laravel, we can use the withSum method with combination hasManyThrough relationship with the where...

Learn More 2 0Sep 4 '23

Clean PHP: isset() and Null-Safe Operators

Refactor the isset condition in PHP, you can use the null coalescing operator in conjunction with the...

Learn More 5 1Aug 28 '23

Comparing PHP functions: empty(), is_null(), isset().

It seems like there might be a few typos in your question, but I'll assume you're asking about...

Learn More 9 6Aug 26 '23

Encapsulate conditionals. Clean code.

Encapsulating conditionals is a crucial aspect of writing clean and maintainable PHP code. It...

Learn More 1 1Aug 23 '23

Avoid negative conditionals , clean code

Avoid negative conditionals Certainly! Writing clean and readable PHP code involves avoiding negative...

Learn More 1 0Aug 22 '23

Laravel money model

In Laravel, "Laravel Money" is not a built-in package or feature. However, you might be referring to...

Learn More 1 0Aug 21 '23

Encrypt and Decrypt String in Laravel

In Laravel, you can use the built-in encryption and decryption features provided by the Illuminate...

Learn More 0 0Aug 20 '23

Database Transactions in Laravel

In Laravel, database transactions are used to manage the integrity and consistency of the database...

Learn More 3 1Aug 18 '23

Change Values in File in Laravel?

In your get function $mylist = config('mylist'); /config/mylist.php return...

Learn More 0 0Aug 1 '23

Laravel function to replace vars in text

#conversation is your model example. $body = $conversation->replaceTextVars($body, ['user' =>...

Learn More 0 0Jul 11 '23