moe_mizrak
moe_mizrak

Moe Mizrak

@moe_mizrak

Senior Software Engineer | Tech Lead | PHP | Laravel

14 Posts 247 Views

  • No matching results...
  • Searching...

/ 255

Pinned

Hey fellow Laravel developers! If you're working with LLMs and tired of building abstractions for each provider, I’ve created something that might help. Check out my Laravel package for OpenRouter—it provides a unified interface for all LLM providers.

Feel free to check it out:
github.com/moe-mizrak/laravel-openrouter

221

I got some fantastic projects this year. Things take time but 'divide and conquer' strategy always works and keeps me excited.

My aim is 5 complete projects. Good news is on the way i am also developing open-source packages.

Word of the day: ' Sonder: the profound realization that every passerby has a life as vivid, complex, and unique as your own. '

101

I think in Laravel, we could introduce an internal regulatory system with an AI signature generator for AI-generated contents.

This AI signature would essentially carry info such as AI model, timestamp, creator, and more.

97

I am working on a package but i came accross some limitations. And when I check how to do it with Java, i found out AspectJ.

i really wanna know what do you know/think about Java AspectJ and Aspect-Oriented Programming generally. I see that we can have similar behaviours by using middlewares, event-listeners etc. but maybe in PHP we need something similar?

What do you think, wouldn't it be better to have a more specialized toolset for handling cross-cutting concerns in PHP?

Limitations:
- PHP’s execution model doesn’t include a pre-runtime bytecode stage that can be intercepted.
- In PHP we have OPcache but this process happens dynamically and is not designed for external tools to inject or modify the bytecode

128