Skip to content

shahabgohar/Rest-APi-Token-helper-class-for-authentication-for-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rest-APi-Token-helper-class-for-authentication-for-laravel

Before using this class, you need to run

composer require firebase/php-jwt

in cofig directory create the Token file and paste that code

<?php
return[
    'Api_Token' =>[
        'Key'=>env('REST_API_TOKEN',"somekeys")
    ]
]
    ?>

in your .env add

REST_API_TOKEN 

and initialize this with your secretkey

place the files in the required directories

About

this class requires you to run

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages