Is it possible to use materialize in a php file next to javascript? in return of a php function I want to issue a Materialize.toast (); but I'm not getting it, I already referenced the file that has all css calls and materialize in php and even then it did not work, I'm trying to do as follows in the php file.
<?php include("../head.php"); // chamadas css e materialize
echo '<script>Materialize.toast(" teste ", 4500, "blue rounded");</script>'
?>