PHP code example of inovector / mixpost-auth
1. Go to this page and download the library: Download inovector/mixpost-auth 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/ */
inovector / mixpost-auth example snippets
return [
/*
* After login will redirect to this url.
*/
'redirect_to_url' => '/mixpost',
/*
* The model you want to use as a User model.
*/
'model_user' => \Inovector\MixpostAuth\Models\User::class
];
bash
php artisan vendor:publish --tag=mixpost-auth-assets
bash
php artisan vendor:publish --tag=mixpost-auth-config