afilina,
@afilina@phpc.social avatar

This looks suspiciously similar to azjezz/psl, just with a different API. It even has the same name: PHP Standard Library.

The PHP community would be better if devs worked together instead of copying and re-branding someone else's work. Credit to azjezz for the original PSL.

herndlm,
@herndlm@phpc.social avatar

@afilina I don't want to bad mouth a whole community since I obviously remember the bad things more, but every time I see or hear "Artisan" I either think about sour dough bread makers or those folks. Wondering what popular, well-established tool they wrapped and re-sold this time 😓

theseer,
@theseer@phpc.social avatar

@afilina At least the screenshot shows a perfect example of adding pointless complexity rather than addressing the design flaw of using implicit APIs with magic strings.

heiglandreas,
@heiglandreas@phpc.social avatar

@theseer @afilina And I wonder what the improvement over Assert::string($apiKey) or /** @var string $apiKey */ is.....

🤷

heiglandreas,
@heiglandreas@phpc.social avatar

@theseer @afilina Apart from the obvious Config::getApiKey(): string

afilina,
@afilina@phpc.social avatar

The irony is that I forgot to credit @ocramius for bringing this to my attention.

jornane,
@jornane@ipv6.social avatar

@afilina Today I learned that there is something called "PHP Standard Library", which is something different than SPL, the Standard PHP Library that's included with PHP: https://www.php.net/manual/en/intro.spl.php

I wish people would first check what the language actually has to offer, before trying to implement functionality resembling Ruby, Java, Python, Brainfuck or whatever in PHP.

afilina,
@afilina@phpc.social avatar

@jornane This doesn't bother me though:

  • Projects with PHP in their name, such as PHPMailer or PHPUnit, are common.
  • PSL and SPL: one is a package and the other is part of PHP. Most PHP devs don't refer to SPL in conversation. It's just PHP. It could have been better named, but doesn't cause confusion.
  • The PSL package doesn't re-implement existing PHP functionality. It offers new features. Perhaps I misunderstood the concern here?
arnapou,
@arnapou@phpc.social avatar

@afilina Sad.

I never liked the way this guy presented things like if they are new and innovative (already seen a conference of him 5 years ago). Narrowing type is supported by phpstan, and if we want more type strictness at runtime, there are so many ways to do that. I even built my own « lightweight » lib for that last year (arnapou/ensure)… 😂

People need to stay humble, but it seems to me (I may be wrong) that the laravel world is filled with too much show off.

afilina,
@afilina@phpc.social avatar

@arnapou Indeed. I wish he had promoted the existing library. Many of his followers weren't aware of the existing library, based on the comments.

itsjoshbruce,
@itsjoshbruce@phpc.social avatar

@afilina: I’m starting to feel this way about a lot of things in tech (and tech-adjacent) fields at the moment.

Agile frameworks: We invented a new way of working. Write down what needs doing, revisit the list of things, and do the most important thing. We call it 10x BS!

(You mean a todo list??)

Nope. Totally different.

The key isn’t to create. The key is to look back 30 years and rename what was always there, without referencing the source. Pretty sure this was always the way.

amykhar,
@amykhar@phpc.social avatar

@afilina It could be worse. Look at the JavaScript ecosystem.

afilina,
@afilina@phpc.social avatar

@amykhar I'm not really familiar with it. I mostly stopped paying attention after 2015.

sarah,
@sarah@phpc.social avatar

@afilina Laravel steals IP and brands it as its own. They think building on the shoulders of giants and then claiming to be geniuses is the way to success.

Crell,
@Crell@phpc.social avatar

@sarah @afilina The Laravel marketshare and profit margins suggest they're right.

But ethical behavior and success have never been correlated.

pierstoval,
@pierstoval@mastodon.social avatar

@Crell @sarah

Don't worry @afilina, the Laravel community approves, therefore they are kinda the same.

I sometimes feel sad and guilty because I have a huge sense of ethics and it doesn't really bring me success.

And at the same time, if I ever did something like what this guy does, I would probably hate myself.

afilina,
@afilina@phpc.social avatar

@sarah I can't speak for the Laravel community, since I don't pay attention to it, but this guy in particular has a long pattern of the behavior you describe.

It's like he contributes the tiniest bit of added value to insert himself everywhere. In the meantime, those who did the hardest part, which is figuring it all out, rarely even get an acknowledgement. He happily collects all the donations for having contributed a thin API or a re-implementation of someone else's work. Disgusting.

heiglandreas,
@heiglandreas@phpc.social avatar
afilina,
@afilina@phpc.social avatar

@heiglandreas I can feel this GIF in my soul.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • thenastyranch
  • GTA5RPClips
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • cisconetworking
  • kavyap
  • JUstTest
  • normalnudes
  • modclub
  • cubers
  • ngwrru68w68
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • Leos
  • osvaldo12
  • anitta
  • megavids
  • lostlight
  • All magazines