PHP code example of sun / laravel-auth

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

    

sun / laravel-auth example snippets


return [
    'app'  => [
        'name' => 'My Awesome App',
        'url'   => 'http://localhost:8000',
        'favicon-url' => 'http://myawesomeapp.com/favicon.png'
    ],
    'user-model-namespace'  => 'App\User',
    'redirect-after-login'  => '/'
];


php artisan migrate:refresh

php artisan vendor:publish