Layout in use: layout_alt_one

Material Icons Map in PHP Array

If you'd prefer a PHP file that stores the icon-to-codepoint mapping, it could look something like this:

php
<?php // material-icons-map.php $materialIconsMap = [ 'star' => '\e87d', 'home' => '\e88a', 'search' => '\e8b6', 'settings' => '\e8b8', 'menu' => '\e5d2', 'account' => '\e853', 'camera' => '\e8f7', 'info' => '\e88f', 'logout' => '\e5f5', 'lock' => '\e897' ]; // Usage example: echo the icon codepoint for "star" echo $materialIconsMap['star']; // Outputs: \e87d ?>

This allows you to reference icon names in your PHP code as an array, and if you ever need to change codepoints, you only need to update this one file.