PHP code example of scholtz / async-web-frontend

1. Go to this page and download the library: Download scholtz/async-web-frontend 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/ */

    

scholtz / async-web-frontend example snippets


server {

	root /srv/www/vhosts/MyProject/prod01/htdocs;
	index index.html index.php;

	server_name www.myproject.com ru.myproject.com;


	location ~ \.php$ {
		location ~ \..*/.*\.php$ {return 404;}
		etsencrypt/live/www.myproject.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/www.myproject.com/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/www.myproject.com/fullchain.pem;