PHP code example of projectcleverweb / lastautoindex

1. Go to this page and download the library: Download projectcleverweb/lastautoindex library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

projectcleverweb / lastautoindex example snippets

apache
Options -Indexes
DirectoryIndex index.php index.html index.htm /path/to/LastAutoIndex/index.php
nginx
autoindex off;
index index.php index.html index.htm /path/to/LastAutoIndex/index.php;
cherokee
vserver!1!directory_index = index.php,index.html,index.htm,/path/to/LastAutoIndex/index.php