Still Desparate to Replace Dreamweaver

I’m looking into using CodeIgniter (CI) on my Mac to generate PHP/MySQL code rather than continue using Dreamweaver for this purpose. Anyone have any advice or suggestions about best practice integrating pages generated with CI into PG?
What do you fellow PG users (who are non-programmers) use to generate their PHP code for incorporation into their PG projects?