GyaanSetu PHP

PHP, Laravel and WordPress.

36 articlesDeep, practical knowledge

'new' എന്നതിന് പകരം Factories ഉപയോഗിക്കാം: Laravel കൺട്രോളറുകൾ എങ്ങനെ കൂടുതൽ ടെസ്റ്റബിൾ ആകുന്നു

ഒബ്‌ജക്റ്റ് നിർമ്മാണം പ്രത്യേക ഫാക്ടറികളിലേക്ക് മാറ്റുന്നതിലൂടെ, Laravel കൺട്രോളറുകൾ നേരിട്ടുള്ള `new` കോളുകൾ ഒഴിവാക്കുന്നു. ഇത് നിർമ്മാണ പ്രക്രിയയെ കേന്ദ്രീകരിക്കുകയും, പ്രോജക്റ്റുകൾ വലുതാകുമ്പോൾ കോഡ്‌ബേസ് എളുപ്പത്തിൽ വികസിപ്പിക്കാനും ടെസ്റ്റ് ചെയ്യാനും പരിപാലിക്കാനും സഹായിക്കുന്നു.

PHP · 4 min read

Croatia’s 2026 E-Invoice Rule Forces PHP Apps to Rewrite 62 Validation Rules

From 1 January 2026 every B2B transaction in Croatia must pass a Schematron file written in XSLT 2.0, but PHP’s built-in libxslt only supports XSLT 1.0. Developers must either add a native Saxon-C extension, call an external service, or re-code the 62 checks in PHP to keep invoicing alive.

PHP · 4 min read

Cloudflare Workers Cut Video Site Thumbnail CPU to Zero

By moving thumbnail generation to Cloudflare Workers, the video-hosting platform eliminated all image-processing load on its origin servers, achieved a 96% edge cache hit rate, and consistently delivered sub-second image responses worldwide.

PHP · 3 min read