Baptiste Langlade
Baptiste Langlade boosted:
2025-06-16

Toutes dernières heures pour soumettre vos sujets de conférences pour le Forum PHP 2025 : le CFP ferme ce soir, 23h59 ! Partagez avec nous ce qui vous fait vibrer, quitte à ce qu'on affine ensemble une fois que vous serez sélectionné·e.
cfp.afup.org

Baptiste Langladebaptouuuu@phpc.social
2025-06-11

Proposer ou ne pas proposer un sujet qui retourne le cerveau pour le #ForumPHP

Baptiste Langladebaptouuuu@phpc.social
2025-06-11
Baptiste Langladebaptouuuu@phpc.social
2025-06-05

New major release for #php formal/orm:
- ": void" methods have been replaced by ": Attempt<SideEffect>" for monadic error handling

github.com/formal-php/orm/rele

Baptiste Langladebaptouuuu@phpc.social
2025-06-03

New major release for #php innmind/s3:
- interfaces have been removed
- ": void" methods have been replaced by ": Attempt<SideEffect>" for monadic error handling

github.com/Innmind/S3/releases

Baptiste Langladebaptouuuu@phpc.social
2025-06-02

New release for #php innmind/immutable:
- add ArrayMerge monoid
- add Attempt::eitherWay()
- allows to chain predicates with and/or methods

github.com/Innmind/Immutable/r

Baptiste Langladebaptouuuu@phpc.social
2025-06-02

New major release for #php innmind/xml:
- most interfaces have been removed
- xml generation (as a file content) is now correctly handled, while still being lazy

github.com/Innmind/XML/release

Baptiste Langladebaptouuuu@phpc.social
2025-05-30

@alessandrolai @giorgiosironi I used Eris around 2018 at work. But there was a few things I didn’t like around sets composition. And when I checked if I could contribute it seemed the project was dead at the time.

That’s when I decided to create black-box.

And you’ll see that its api inside phpunit is very similar to eris.

Baptiste Langladebaptouuuu@phpc.social
2025-05-30

I’m looking for people using #php innmind/black-box at work. Reaching for feedback on how it’s used.

Anyone around here ?

Baptiste Langladebaptouuuu@phpc.social
2025-05-23

New release for #php innmind/black-box:
- adds Set::enumerate() to generate values without having to rely on internal details

github.com/Innmind/BlackBox/re

Baptiste Langladebaptouuuu@phpc.social
2025-04-22

Side effect of all this: I'm finally getting rid of all the mocks in the tests.

Probably one of the biggest mistakes I've made.

phpc.social/@baptouuuu/1143360

Baptiste Langladebaptouuuu@phpc.social
2025-04-18

Also if you’ve worked with #scala and fs2, this should feel familiar

phpc.social/@baptouuuu/1143352

Baptiste Langladebaptouuuu@phpc.social
2025-04-16

New major release for #php innmind/encoding:
- Updated dependencies
- Simplified encoding/decoding by only supporting file contents
- new documentation website innmind.org/encoding/

github.com/Innmind/encoding/re

Baptiste Langladebaptouuuu@phpc.social
2025-04-14

New major release for #php innmind/filesystem:
- uses innmind/io 3
- replaces ": void" by ": Attempt<SideEffect>"

github.com/Innmind/Filesystem/

Baptiste Langladebaptouuuu@phpc.social
2025-04-14

So I started rewriting packages to express these behaviours (aka exceptions). Hence the addition of the Attempt monad (innmind.org/Immutable/structur) and the rewrite of IO (innmind.org/io/).

This means that all packages depending on IO will be updated, essentially it's everything interacting with the operating system. You can see the whole dependency graph here: innmind.net/vendor/innmind

Baptiste Langladebaptouuuu@phpc.social
2025-04-14

A little bit of context about my recent releases:

I work on an Actor Model implementation (github.com/Innmind/witness/pul).

This is one of most complex subjects I've worked on. Each behaviour that is not expressed in the type system makes the implementation more complex and brittle. And the biggest source of unspecified behaviour is IO error handling.

Baptiste Langladebaptouuuu@phpc.social
2025-04-14

New major release for #php innmind/validation:
- Constraint is now a final class to adding new features
- new non-empty-string, positive-int and negative-int constraints

github.com/Innmind/validation/

Baptiste Langladebaptouuuu@phpc.social
2025-04-14

New major release for #php innmind/io:

It now completely abstracts the handling of streams/sockets behind a declarative API.

It also comes with a documentation website now innmind.org/io/

github.com/Innmind/io/releases

Baptiste Langladebaptouuuu@phpc.social
2025-04-02

New release for #php innmind/immutable:
- adds Sequence::snap() and Set::snap() to load data at once when needed
- adds Sequence::via() to have a fluent API to configure sequences
- deprecates Set::defer() and Sequence::indexOf()

github.com/Innmind/Immutable/r

Baptiste Langladebaptouuuu@phpc.social
2025-03-19

New major release for #php innmind/black-box:
- Set is now a final class
- adds Set::flatMap() to randomly declare new Sets
- adds PHPUnit 12 support

github.com/Innmind/BlackBox/re

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst