{scrlayer-scrpage} is a package allowing custom headers and footers.
scrlayer-scrpage is part of the KOMA-script bundle, but can be used with the standard classes as well. It is the successor of the obsolete package scrpage2. This tag should only be used in addition to the more general tag {header-footer}