PHP decoupled libraries