Temma (@TemmaPHP) header
Temma (@TemmaPHP) profile picture

Open-Source PHP Framework

Joined January 2025
Data Validation with Temma 🛡️ 🔹 PHP attributes for declarative validation 🔹 Reusable contracts to avoid duplication 🔹 Validate parameters, JSON payloads, and uploaded files 🔗 LINK : temma.net/en/documentation/v… #PHP #Temma #WebDevelopment #Backend
1
1
12
OpenAI as a PHP datasource 🤖 🔹 One-line configuration 🔹 Multi-turn conversations 🔹 Same access pattern as Redis or MySQL 🔹 Less boilerplate, more business logic How do you integrate AI into your PHP projects? 🔗 LINK: temma.net/en/documentation/d… #PHP #OpenAI #AI #WebDev
1
1
29
One datasource for every LLM? 🤖 🔹 OpenAI, Claude, Gemini, Mistral, Ollama… 🔹 Conversations, JSON, images, PDFs 🔹 One unified PHP interface Discover Temma’s new AI datasource. 🔗 LINK: temma.net/en/documentation/a… #PHP #AI #LLM #OpenAI #Programming
2
2
105
Server-side generated HTML: Is it still outdated? ⚡ Faster pages 🌍 A more accessible web 🧠 Less front-end complexity What if the future of the web were… simpler? 🔗 LINK: phpwayoflife.com/fr/manifest… #PHP #WebDev #Frontend #Backend #Programming #Tech
2
2
76
Temma retweeted
PHP Namespaces Explained 🔹 Avoid class name conflicts 🔹 Organize your code cleanly 🔹 Structure projects more efficiently Namespaces make PHP applications easier to maintain and scale. 🔗 LINK: ankit-kumar-fullstackdevelop… #PHP #WebDev #Programming #Coding #SoftwareArchitecture
2
2
65
Temma retweeted
Upgrading your server won’t fix your slow PHP app ⚠️ 🔹 1 process = 1 request 🔹 Limit reached → huge queue 🔹 Result: slow app even on powerful servers The problem isn’t hardware… it’s architecture. 🔗 LINK: medium.com/@dhevanmuhamad/wh… #PHP #DevOps #WebPerformance #Backend
2
2
55
Temma vs Laravel: same API, different approach ⚡ 🔹 Temma = fewer files, more automation 🔹 Laravel = more structure, more control Same result. Two philosophies. Which one do you choose? 🤔 🔗 LINK: dev.to/amaury_bouchard/your-… #PHP #API #WebDev #Backend #Coding
2
3
59
Temma retweeted
Structuring PHP code: castle… or card house? 🔹 Structured code = readable & maintainable 🔹 Messy code = fragile & confusing What you build today… will it still stand tomorrow? 🔗 LINK: dev.to/ezeanyim_henry/php-co… #PHP #CleanCode #SoftwareArchitecture #Coding
2
2
65
Temma vs Laravel: Same API, different approach 🔹 Temma = Simplicity & speed ⚡ 🔹 Laravel = Structure & conventions 🏗️ Which one fits your project best? 🔗 LINK: reddit.com/r/PHP/comments/1r… #PHP #WebDev #Backend #API #SoftwareArchitecture #Coding
2
2
65
Temma retweeted
PHP Traits: useful… or a hidden trap? 🔹 Traits = “glued” code 🔹 Hidden dependencies 🔹 Reduced readability Should you really use them? 🔗 LINK: dev.to/tegos/why-i-avoid-php… #PHP #CleanCode #SoftwareArchitecture #Coding
1
1
14
🔹 Explicit services 🔹 Dynamic callbacks 🔹 Builders & aliases 🔹 Custom loaders The loader isn’t just DI. It’s your app’s orchestration engine. 🔗 LINK: temma.net/en/documentation/l… #PHP #DependencyInjection #Backend #SoftwareArchitecture #WebDevelopment
2
2
56
🔹 Autowiring = Automatic dependency resolution 🔹 Service Locator = More control & performance Same concept, different trade-offs. Which one fits your architecture best? 🔗 LINK: temma.net/en/documentation/l… #PHP #BackendDevelopment #SoftwareArchitecture #Coding #WebDev
2
3
58
Temma retweeted
PHP Arrays: Why They Still Matter 🔹 Simple = Easy to read 🔹 Flexible = Adapts as your needs grow 🔹 Powerful = Often enough, without over-engineering Which do you use most: arrays or DTOs? 🔗 LINK: phpwayoflife.com/en/manifest… #PHP #Backend #Coding #CleanCode #SoftwareDesign
2
2
40
Service Locator = The loader provides the object Autowiring = Dependencies are injected automatically Understanding the loader means understanding the architecture. Which one do you prefer in your projects? 🔗 LINK: temma.net/en/documentation/l… #PHP #Backend #SoftwareArchitecture
2
2
56
Temma retweeted
🔹 PFA = preconfigured functions 🔹 ? and ... = PHP infers missing parameters 🔹 Result: cleaner callbacks, less boilerplate Would you use it more for callbacks or pipelines? 🔗 LINK: amitmerchant.com/partial-fun… #PHP #WebDev #Backend #CleanCode
3
3
171
Temma retweeted
7 API Best Practices Every Backend Dev Should Know 🔹 Consistency beats cleverness 🔹 Status codes are part of the API contract 🔹 Validate inputs, always 🔹 Paginate, secure, document, version 🔗 LINK: article.arunangshudas.com/7-… #Tech #API #Backend #Coding #SystemDesign
1
1
10
Breaking the Habits 🔹 Webhooks = Simple & efficient when events are enough 🔹 RPC-style calls = Clear actions, not just CRUD 🔹 HTTP Basic over HTTPS = Sometimes simpler than JWT Do you design APIs by habit… or by real needs? LINK: phpwayoflife.com/en/manifest… #PHP #APIDesign
1
9
Temma retweeted
PHP Core Concepts: What Really Matters? 🔹 Variable scope = Where variables live 🔹 References = Shared memory 🔹 Closures = Functions that remember 🔹 use = Capturing context 🔗 LINK: dev.to/dev-alamin/php-engine… #PHP #WebDev #Programming #Coding #Backend #SoftwareEngineering
2
2
50
Temma 2.14.0 is out 🚀 Better data validation, improved communication, and a more reliable core with new data sources for Google Chat and Telegram, and major improvements to DataFilter. 🔗 temma.net #PHP #Framework #OpenSource #WebDev
2
2
58