Study of halo nuclei with phenomenological relativistic mean field approach