Yep! Php ain't all that bad. I'm migrating earlybrd to laravel soon and enjoy it a lot. just poking a bit of fun because nerds like to hate on php.
I hope you don't mind me saying, but it sounds like you didn't have the best setup (i.e.: > raw SQL queries with psycopg2). With a couple of packages your environment and dev process would be a lot smoother.