add lib php active record