<?php namespace Setting\Lib; use Dever; class Code { public function show_api() { $url = urldecode(Dever::input('url')); $code = Dever::load('qrcode/api')->qrcode($url); return $code; } }