Add media from an url using the Spatie Media Library package.
When importing data, I get a lot of image urls and need to download and attach the media items to another model. I'm doing this in an action class called from a job:
Back