In criminal cases, to be eligible for public funding, the defendant must pass the means test (show low income) and the merits test (whether the case contains certain parameters). If you are on passporting benefits you satisfy the means test automatically. Application for legal aid shall be made in CRM14 form that can be found here https://www.gov.uk/guidance/legal-aid-crime-eform .