add dependencies to pagerfanta