PHP code example of eric404 / droplet
1. Go to this page and download the library: Download eric404/droplet 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/ */
eric404 / droplet example snippets
# nginx.conf
autoindex off;
location / {
try_files $uri $uri/ /index.php?/$uri;
}