PETG or other non-brittle filament is recommended.
Print on the side to optimize for the direction of flexing.