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.

The irony is that I forgot to credit @ocramius for bringing this to my attention.
@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.

@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.

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

But ethical behavior and success have never been correlated.

@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.

@pierstoval @Crell @sarah @afilina the sad part is that github stars will be flowing like a river, downloads and adoption as well.
In two years no one will remember the original library
@afilina It could be worse. Look at the JavaScript ecosystem.
@amykhar I'm not really familiar with it. I mostly stopped paying attention after 2015.

@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.

@afilina this guy is so annoying lmao
@afilina Just a (String)$apiKey is wrong? Asking for a friend....

@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.

PHP: Introduction - Manual

@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?

@afilina Using PHP in the name would be fine; this indicates compatibility. My concern is using "Standard" in the name of a third party library. Better would have been to name it after it's async nature.

Even though PSL and SPL are different things, the name confusion is there. I'm not calling a library "composer" either, even if I'm making something very different from a package manager.

@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.

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

๐Ÿคท

@theseer @afilina Apart from the obvious `Config::getApiKey(): string`
@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 ๐Ÿ˜“