Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Amaury Bouchard

@amaury@phpc.social
mastodon 4.7.3
  • Open on phpc.social
0 Followers
0 Following
8 Posts
Joined October 11, 2024
Gravatar:
https://gravatar.com/amaurybouchard
Blog (fr):
https://www.geek-directeur-technique.com/
Temma Framework:
https://www.temma.net/
PHP Way of Life:
https://www.phpwayoflife.com/
Open post
Amaury Bouchard @amaury@phpc.social
· 6mo ago

Your PHP website is a free API: how to unlock it with content negotiation

Content negotiation lets you serve HTML to browsers and JSON to apps from the same endpoint, without maintaining a separate API. Examples in Symfony, Laravel and Temma.

https://dev.to/amaury_bouchard/your-php-website-is-a-free-api-how-to-unlock-it-with-content-negotiation-2h0p
#php #webdev #api #temma

Your PHP website is a free API: how to unlock it with content negotiation
DEV Community

Your PHP website is a free API: how to unlock it with content negotiation

The problem You have a product catalog on your website. Your marketing team wants a mobile...

1
0
1
0
Open post
Amaury Bouchard @amaury@phpc.social
· 6mo ago

Votre site web est déjà une API. Il suffit de renvoyer du JSON au lieu du HTML quand le client le demande. Même URL, même code métier. Je montre comment faire en Symfony, Laravel et Temma.

https://www.geek-directeur-technique.com/2026/04/04/content-negociation-en-php-votre-site-web-est-une-api-sans-le-savoir-exemples-symfony-laravel-et-temma
#PHP #API #WebDev #AFUPDay

De geek à directeur technique

Content negociation en PHP : votre site web est une API sans le savoir (exemples Symfony, Laravel et Temma)

Je prépare actuellement la conférence que je donnerai à l'AFUP Day au mois de mai, et dont le titre sera “Repenser les APIs”. Dans les différents points que je vais aborder, il y a la “négociation de contenu”, qu'on appelle en anglais “content negociation”, “dual-purpose endpoint” ou encore “API mod

1
0
0
0
Open post
Amaury Bouchard @amaury@phpc.social
· 6mo ago

Calling OpenAI from a PHP framework the same way you query a database

https://dev.to/amaury_bouchard/calling-openai-from-a-php-framework-the-same-way-you-query-a-database-4n8b
#php #openai #webdev #temma #temmaframework

Calling OpenAI from a PHP framework the same way you query Redis or Memcache
DEV Community

Calling OpenAI from a PHP framework the same way you query Redis or Memcache

Temma is a PHP MVC framework designed to be easy to pick up and use. It sits between micro-frameworks...

1
0
1
0
Open post
Amaury Bouchard @amaury@phpc.social
· 6mo ago

Protéger son app PHP contre les attaques CSRF sans jetons partout, c'est possible.

3 techniques combinées (Referer, POST only, SameSite=Lax), comparées en PHP pur, Laravel, Symfony et Temma.

https://www.geek-directeur-technique.com/2026/03/18/csrf-temma-vs-laravel-vs-symfony

#PHP #Security #CSRF #laravel #symfony #temma

De geek à directeur technique

CSRF : Temma vs Laravel vs Symfony

J'ai déjà parlé sur ce blog des failles de sécurité de type CSRF (Cross-Site Request Forgery) : dans cet article et suite à ma conférence sur la sécurité dans les développements web. En évitant de répéter ce que j'ai déjà écrit, je vais passer en revue trois techniques qui permettent d'éviter les

1
0
0
0
Open post
Amaury Bouchard @amaury@phpc.social
· 10mo ago

@sysedit@mastodon.social @laravista@mastodon.uno No "sacred vs evil". Quite the opposite, actually. It’s not about polarizing practices, it’s about recognizing there’s no such thing as an absolute best practice. What works for a company with 800 developers rarely applies directly to a 3-person startup.
For sure, OOP is great, that’s not the point. But when it’s misused, with so many layers of indirection that you can’t follow the execution flow, it becomes a nightmare (like any practice when misapplied).

1
0
1
0
Open post
Amaury Bouchard @amaury@phpc.social
· 6mo ago

Building a basic REST API: Temma vs Laravel (with input validation)

https://www.reddit.com/r/PHP/comments/1rxhpqx/building_a_basic_rest_api_temma_vs_laravel_with/

#php #laravel #temmaframework #temma

reddit

Building a basic REST API: Temma vs Laravel (with input validation)

amaurybouchard

0
0
0
0
Open post
Amaury Bouchard @amaury@phpc.social
· 8mo ago

Faire tourner un vrai bureau Linux sur smartphone Android devient facile avec cette application
https://www.frandroid.com/os/gnu-linux/2947417_faire-tourner-un-vrai-bureau-linux-sur-smartphone-android-devient-facile-avec-cette-application
#android #linux

Faire tourner un vrai bureau Linux sur smartphone Android devient facile avec cette application — Frandroid
Frandroid

Faire tourner un vrai bureau Linux sur smartphone Android devient facile avec cette application — Frandroid

On nous promet le smartphone-ordinateur depuis des années, mais entre Samsung DeX un peu bridé et les solutions Linux instables, on restait sur notre

0
0
0
0
Open post
Amaury Bouchard @amaury@phpc.social
· 8mo ago

15 Free APIs Every Developer Should Know (With Real Use-Cases & Examples)
https://faun.pub/15-free-apis-every-developer-should-know-with-real-use-cases-examples-677ca7aee810
#api #rest

Medium

15 Free APIs Every Developer Should Know (With Real Use-Cases & Examples)

15 free and widely-used APIs that help developers:….

0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 21:52:22 UTC