Provides @alternator function for blade templates