I'm currently logging people in using SSO and SAML. I have a listener that awaits for the login event to happen, and then tries to simply fire Auth::login($user) with the user object. It doesn't seem to be working as intended, I'm wondering if this is because it's within a listener?
I'm writing a comment system that enforces a short break (30s) to prevent mass-spamming. When a comment is added, we'll do a quick check to see if a comment has been posted within the last 30secs, it not, create it. However I've found it I fire off a whole bunch at once, I can reasonably easily crea...
Having a bit of an issue with failing jobs that continually retry (and use up our API limit...) using supervisord. [program:app-queue-listener] process_name=%(program_name)s%(process_num)02d command=php /home/app/artisan queue:work --daemon --env=prod --timeout=0 --sleep=5 --tries=3 autostart=true a...
This is probably more of an architecture question than anything else, and maybe I'm overthinking it. Suppose I have a multiple controllers accepting file uploads going to a common destination, using File model/DB table/FileController to handle the serving of them. I need to access and modify these u...