PHP code example of superbalist / laravel-ajax-redirector
1. Go to this page and download the library: Download superbalist/laravel-ajax-redirector 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/ */
superbalist / laravel-ajax-redirector example snippets
'providers' => [
Superbalist\AjaxRedirector\AjaxRedirectServiceProvider::class,
]
return redirect()->to('/test');