This is a remix of the MagSafe iPhone and Airpod Stand with included holes for 6 magnets (6x2mm) on the underside of the baseplate so it can be attached to a metal table. In my testing the 6 magnets are strong enough to keep the stand in place when detaching the phone from the charger.
You can glue in the magnets, but I paused my print just before the top layer of the holes started to print and put in mine and they seem to be staying in place.
I printed my at 0.28mm layers and without supports as all the parts that would need support are hidden my either the charger or the cable. If you do want to use supports, but also want to put the magnets in place while printing, make sure you disable supports for the holes.
If you want to use different sized magnets, use the included fusion file and just change the diameter and/or the extrusion depth.