Print both pieces on their side then nest them together and mount to a wall or desk with double sided tape. I glued the two pieces together, but I don't think it was necessary.
The charger gets warm, so this should be printed in PETG or something else moderately heat resistant. PLA will probably warp.
The author marked this model as their own original creation.