Ray
0
位追蹤者
追蹤
Ray
0
位追蹤者
分享讓我感覺自我良好,自己不是一個廢物,對人類有貢獻
Learn or Die
0
會員
16
內容數
加入
前往沙龍
分享程式技術
加入
前往沙龍
發佈內容
我的成就
全部內容
由新到舊
Learn or Die
2025/06/22
Laravel 週報 12.18
# Encrypt and decrypt Str helper methods 12.18 支援 fluent string chain <?php // Before $encryptedToken = str('secret-api-token') ->pipe(fn(String
#
Laravel
#
開發
#
Lara
1
留言
Learn or Die
2025/06/14
Laravel 週報 12.16
# in_array_keys Validaiton Rule 12.16 新增 in_array_keys validation rule,驗證指定 array 必須包含指定 keys <?php $validator = Validator::make($request->all(), [
#
Laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/06/04
Laravel 週報 12.15
# Locale-aware Number Parsing 12.15 新增 Number class 新增 method,支援 parse with different locale <?php use Illuminate\Support\Number; Number::parse($s
#
laravel
#
新增
#
Lara
喜歡
留言
Learn or Die
2025/06/04
Laravel 週報 12.14
# Arr::from() Method 12.14 新增 Arr::from(),可從多種資料結構取得 array of items <?php use Illuminate\Support\Arr; Arr::from(collect(['name' => 'Laravel'])); /
#
laravel
#
Lara
#
新增
1
留言
Learn or Die
2025/05/28
TypeScript 安裝
# 安裝 npm install -g typescript # 編譯 使用框架如 NextJS 時,框架會自動執行 TS 編譯 tsc hello.ts # Hello TypeScript 範例:function sayHello(person: string) { retu
#
TypeScript
#
檢查
#
安裝
1
留言
Learn or Die
2025/05/26
Laravel 週報 12.3
# JSON Unicode Cast Type 12.3 Eloquent Attributes 新增 json:unicode cast type,允許 JSON encoding JSON_UNESCAPED_UNICODE <?php protected $casts = [ '
#
Laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/05/14
TypeScript 安裝
# 安裝 npm install -g typescript # 編譯 使用框架如 NextJS 時,框架會自動執行 TS 編譯 tsc hello.ts # Hello TypeScript 範例:function sayHello(person: string) { retu
#
TypeScript
#
開發
#
檢查
喜歡
留言
Learn or Die
2025/05/14
NextJS - Routing - Linking and Navigation
在 Next.js 中有四種方法可以在 routes 之間導航: 使用 <Link> component 使用 useRouter hook(用於 Client Components) 使用 redirect 函數(用於 Server Components) 使用原生的 History AP
#
導航
#
Pag
#
數據
喜歡
留言
Learn or Die
2025/05/05
Laravel 週報 12.2
# Community Starter Kit Support in laravel new 12.2 Laravel new command,新增支援 community starter kit,支援的清單可 參考 laravel new --using statamic/statamic m
#
laravel
#
開發
#
Lara
喜歡
留言
Learn or Die
2025/04/30
NextJS - Routing - Defining Routes
# 建立 Routes Next.js 使用基於檔案系統的路由器,資料夾用來定義 routes。 每個資料夾代表一個 route segment,對應到一個 URL segment。 要建立 nested routes,可以將資料夾彼此巢狀。 使用特殊的 page.js 檔案來讓 rou
#
NextJS
#
前端
#
檔案
喜歡
留言
vocus 勳章
NFT
了解
如何蒐集勳章