PHP code example of jenaye / enaylal
1. Go to this page and download the library: Download jenaye/enaylal 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/ */
jenaye / enaylal example snippets
nginx
server {
listen 80;
server_name jenaye.dev;
location / {
root /home/jenaye/dev/php/Enaylal/public;
index index.php index.html index.html;
try_files $uri /index.php$is_args$args;
}
location ~ \.php$ {
root /home/jenaye/dev/php/Enaylal/public;
fastcgi_pass unix:/run/php-fpm/php-fpm-jenaye.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;