PHP code example of albertborsos / yii2-pjax

1. Go to this page and download the library: Download albertborsos/yii2-pjax 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/ */

    

albertborsos / yii2-pjax example snippets




return [
    ...
    'components' =>[
        ...
        'request' => [
            'class' => \albertborsos\pjax\web\Request::class,
        ],
        'response' => [
            'class' => \albertborsos\pjax\web\Response::class,
        ],
        ...
    ],
    ...
];