Sandro Gehri
banner
sandro.gehri.dev
Sandro Gehri
@sandro.gehri.dev
Father, Husband, Laravel enthusiast and OpenSource Developer.
Creator of OpenAI for PHP and TailwindMerge for Laravel.
💡 Laravel tip: Get notified when you have a missing translation in your Laravel app.

#Laravel #I18N
December 4, 2024 at 8:19 PM
How are you getting rid of leading or trailing spaces on @filamentphp.com inputs?

Currently, we use a macro on the TextInput which trims the string when the state dehydrates.
Is there someone with a better / different approach?
December 4, 2024 at 3:13 PM
Thanks to the @spatie.be newsletter href.email I just found out, that you can use a custom domain for your @bsky.app handle.

I think @sandro.gehri.dev just looks very nice 💅
November 7, 2024 at 5:29 PM
📣 TailwindMerge for Laravel Announcement

The latest version supports all the new features in TailwindCSS 3.4 🎉

- Dynamic viewport units
- size-*
...

github.com/gehrisandro/...
January 10, 2024 at 9:22 PM
The newest feature I've added to the upcoming Pest Mutation Testing plugin, is already one of my favourites: "--retry" 😍

It runs the mutations previously survived first, to have a really fast feedback loop. 🚀

It behaves like `--retry` in Pest.

#php #mutationtesting
December 5, 2023 at 5:40 AM
A Larsvel Pulse card that records all OpenAI requests. 🧪

Should we add this to OpenAI for Laravel?
And what metrics would you like to see?
December 1, 2023 at 11:37 PM
💡 Pest PHP tip

If a helper is only used in a single test file, you can define it as a callable within the beforeEach hook.

This avoids the problem of conflicting helper method names between test files. 🍀
November 28, 2023 at 7:24 PM
Just tagged a new stable version of OpenAI for PHP.

✅ Assistants API, Retrieval, and Code Interpreter
✅ Text to Speech
✅ GPT-4 Vision
✅ Dall·E 3
✅ PHP 8.3 compatible

github.com/openai-php/c...
November 23, 2023 at 2:24 PM
Using the upcoming Pest "Mutation Testing" plugin on the OpenAI PHP client:

✅ Errors fixed: 4
✅ Code improvements: 6
✅ Tests fixed: 2
✅ Tests enhanced: 18
✅ Tests added: 16

This is going to change my way of creating software 🤩
November 22, 2023 at 8:52 PM
📣 OpenAI PHP Client update 📣

Assistants API support has arrived!

Creating AI assistants in your PHP / Laravel App has never been easier 🤯

Link and details 👇
November 13, 2023 at 12:53 PM
Heads up, PHP & Laravel wizards! 🧙

Support for "Assistants" is coming soon to OpenAI for PHP and Laravel .

Keep your eyes peeled – magic is about to happen! ✨
November 9, 2023 at 6:18 AM
Want to try the brand new OpenAI "Text to Speech" feature?

Our client for PHP and Laravel has you covered 🚀

Link to the client below 👇
November 6, 2023 at 8:34 PM
🐣 Tackling the chicken-and-egg challenge while using the PEST PHP mutation testing plugin during its own development.
🤣🤣🤣
November 2, 2023 at 3:22 PM
💡 Mutation testing can help you to make your code more robust.

For example, by testing against a mutation with a stricter comparison.
November 1, 2023 at 12:28 PM
In the PHP ecosystem, Mutation Testing is not widely used so far, mainly because developers don't know about it or it's too hard to start with.

My goal with the Mutation Testing plugin for PEST PHP is too change this radically by making it super simple and intuitive . 🚀
October 31, 2023 at 7:05 AM
🪄 Time to reveal 🪄

I am working on Mutation Testing for PEST PHP.

As I develop the plugin, I will share updates, insights, and my thoughts on Mutation Testing.

The first update will focus on my motivation behind building this Plugin. So stay tuned and keep your eyes open! 👀
October 30, 2023 at 8:20 AM
Started something I am really excited about 👀
October 25, 2023 at 1:31 PM
We have launched version v0.7.0 of @openai.bsky.social for PHP which supports the new fine-tuning API to customize your GPT models. 🔥

Check out our docs at GitHub github.com/openai-php/c...
August 29, 2023 at 6:52 AM
👀 Preparing our @OpenAI PHP Client for the latest API changes.
August 23, 2023 at 10:26 PM