PHP code example of jiny / auth

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

    

jiny / auth example snippets



return [
    'urls'=>[
        'home' => "/", // 로그인호 홈으로 이동
        'logout_back' => "/" // 로그아웃후 이동되는 경로
    ],
    'views'=>[
        'login'=> "jinyauth::login",
        'regist'=>"jinyauth::register"
    ]
];

php artisan vendor:publish --provider="Jiny\Auth\JinyAuthServiceProvider"

php artisan vendor:publish --tag=auth-actions --force

$ php artisan user:create --name=이름 --email=이메일 --password=패스워드

php artisan user:admin 이메일 --enable

php artisan user:super 이메일 --enable