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

dev.to
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

geek-directeur-technique.com
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

dev.to
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

geek-directeur-technique.com
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.com
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

frandroid.com
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

faun.pub
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: 10:29:53 UTC