is there any way to connect GIMP with python or PHP and use its libraries? It seems that all i can find on the web is pygimp which is not supported anymore.
ps. i do my development on mac and i use linux as a production server
Probably not directly, but I'll bet you can access some functions via 'exec()' on the command line.  What are you trying to do?  Can the GD or ImageMagic tools help?
Connect GIMP with PHP or Python