class file and example in index.php with xlsx teplate and csv