我的框架版本庫是:https://github.com/liuf121032/LFFrame ,歡迎大家一起研究小小demo學習。
此方法對應路由:http://local.lff.com/index.php?d=fwt&c=fwt/test
需要注意的:1.如果直接使用composer require 安裝phpjwt,不能正常使用new builder()這個方法,此方法安裝的phpjwt是對象文件,builder是一個對象。
此時安裝,需要去github下載release版本,此時下載的版本中builder是一個實現的方法,可以正常使用。具體demo,在我開發的框架router層中可以看到。





原貼的使用方法:https://blog.csdn.net/HobHunter/article/details/78524922
