PHP code example of mezon / ajax-application

1. Go to this page and download the library: Download mezon/ajax-application 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/ */

    

mezon / ajax-application example snippets


function ajaxRequestSuccess(): void

function ajaxRequestResult($result): void

function ajaxRequestError(string $message, int $code = - 1): void