<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ~~~ 助手函數路徑 \vendor\laravel\framework\src\Illuminate\Support\helpers.php config('app.cdn_domain') 讀取配置 env('CDN_DOMAIN') 只在配置文件使用的讀取 $path = app_path(); 返回app路徑C:\www\laravel\app, $path = base_path(); 項目根目錄,C:\www\laravel $path = config_path();配置路徑C:\www\laravel\config $path = public_path(); 返回public路徑C:\www\laravel\public,路徑函數都支持生成文件路徑 $path = resource_path('assets/sass/app.scss'); 資源路徑;C:\www\laravel\resources\assets/sass/app.scss $path = storage_path('app/file.txt');文件存儲路徑C:\www\laravel\storage\app/file.txt __("lang.test") //本地化,lang是文件,配置'locale' => 'zh-CN' trans("lang.test")只翻譯鍵 e('<html>foo</html>') 輸出源代碼 str_contains('This is my name', 'my'); 是否包含某個值 str_limit('我是中國人', 3, '...') 截取字符串 中文3個一個漢字 str_random(40) 隨機字符串 asset('img/photo.jpg') 生成完整包含http/https路徑 secure_asset()只生成https url('user/profile', ['id'=>1])http://laravel.api.shanliwawa.top/user/profile/1 secure_url只生成https url()->full() 當前完整域名 $cookie = cookie('name', 'value', $minutes); {{ csrf_field() }} 生成令牌 $token = csrf_token(); 獲取令牌 encrypt() decrypt() 加密解密 dump()打印變量 dd() 打印后停止 info('Some helpful information!'); 寫入日志 logger('Debug message'); 錯誤寫入日志 redirect('/home'); 跳轉 $value = session('key'); session(['chairs' => 7, 'instruments' => 3]); 獲取設置session use Illuminate\Support\Facades\Hash; Hash::make($request->newPassword) 加密密碼 助手加密解密函數,支持字符串數組對象 encrypt() decrypt() use Illuminate\Support\Facades\Crypt;無序列化加密 $encrypted = Crypt::encryptString('Hello world.'); $decrypted = Crypt::decryptString($encrypted); Crypt::encrypt() 支持字符串數組對象 Crypt::decrypt() use Illuminate\Http\Request 是請求對象數據處理 $request->input('title'); 獲取輸入 $site = $request->input('site', 'Laravel學院'); 請求為空取后邊值 $request->input('books.0.author') 數組獲取單值 $request->json(); 返回JSON數據格式 $request->all(); 全部 $request->except('id');排除 $request->only(['name', 'site', 'domain']); 只獲取這些字段 $request->has('id') 判斷id字段是否存在 ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看