$imageOrg->compositeImage($over, Imagick::COMPOSITE_DEFAULT, (((($imageOrg->getImageWidth()) - ($over->getImageWidth())))/2), (((($imageOrg->getImageHeight()) - ($over->getImageHeight())))/2));
Basically, what you do is set the left-side offset of your image to the width of the container, minus the width of the composite image, divided into two parts, which compensates for this enough to center horizontally. Then you do the same for the height, and it is centered vertically.
, , Gravity , : ,