Attaching properties to a PHP class is important, so you can track specific values of data entities or functionality.