PHP code example of d2my / impersonate
1. Go to this page and download the library: Download d2my/impersonate 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/ */
d2my / impersonate example snippets
route('impersonate.login', ['id' => $id])
route('impersonate.logout')
php
\D2my\Impersonate\Providers\ImpersonateServiceProvider::class,
php artisan vendor:publish --tag=impersonate
php artisan migrate