Support the ongoing development of Laravel.io →
Queues Architecture Jobs

Hi

I am new to Laravel and developing a shopping cart project. can some one tell me what would be the use-case in typical shopping cart project to create events and Jobs? for example I have created an event to create thumbnails of users when new user is registered. I have create UserPhoto class to do image manipulation and calling this class from event handler, it that right approach ?

Last updated 3 years ago.
0

Use events. Setup an event listener when the user is created and push the image manipulation process on a queue

0

Sign in to participate in this thread!

Eventy

Your banner here too?

chirag6451 chirag6451 Joined 21 Jul 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.