If anyone is here wondering how to get all the names from the enum cases and map them into an array, it can be done like this:
array_column(CampaignPeriods::cases(), 'name');
Likewise, have the 2nd argument as 'value' to get the enum's values.
Happy coding, web artisan :)