laravel-cms
- Articles
- 5
- Categories
- 12
- Writing since
- 1 yrs
Topics
Browse by topic
Latest
Latest articles
Who Does auth()->id() Actually Return? Lessons Learned from Sanctum Polymorphic Tokens and a Dual Membership System
A seemingly harmless auth()->id() call returns the owner of the token, not necessarily the member you expect. This post shows how polymorphic tokens work in Sanctum, why a two-member system silently mixes identities, and how binding a provider to each guard fixes it at the authentication layer.
The Great Swordsman Title of He Xinyin and the Mystery of His Martial Arts
He Xinyin was called a great swordsman by his contemporaries, yet the Ming sources record no swordplay and no weapon skills. Tracing the label back to its source in Wang Shizhen writing shows that the title described a temperament and a way of life, not a fighting style.
Should English Leave the Core Curriculum? Rethinking the Burden-Reduction Debate
Removing English from the core curriculum sounds like lighter study loads, but the hours usually move outside school, where only some families can pay for them. This article looks at class hours, exam weighting and the real cost of the reform for ordinary families.
The Trillion-Dollar Tariff Story That Ended as a Regulatory Shell Game
A year of tariff policy ended with the levies ruled unlawful, refunds plus interest, and the treasury turning from collector to payer. Large firms absorbed the cost and reclaimed it in full, while consumers carried the bill, and the next round of rules arrived before the old ones were settled.
Angry Suppliers, Exhausted Peers: What Pang Dong Lai Compliance Standards Expose
A partnership dispute turned into a public apology, a government notice and suspended executives. Behind the crisis sits a set of employment and supply-chain rules that most companies would rather not discuss.