What are some most useful libraries you use in production? And why?

Question is self explanatory. Relatively unknown libraries (less popular) are welcome.

Maybe explain what use case (context) led you to gravitate to library you mention.

:slight_smile:

8 Likes

I love Oban. I use puid for generating short-lived sign-in tokens.

8 Likes

Besides the most common Phoenix and Phoenix adjacent libs, I usually end up adding Mox, Tesla, Quantum and Briefly to most projects I work on.

5 Likes

I often use waffle, tz and samly.

7 Likes

I’ve had some pretty good luck with fast64. NIF for encoding and decoding base64.

4 Likes

Some libraries I use with Metamorphic:

14 Likes

The latest versions of Ecto have support for Enum field.

9 Likes

The native Elixir implementation is too slow for your use case?

I always use Nimble CSV when I deal with CSV files

6 Likes

In some of our use cases that we have, yes. For small binary blobs, it is negligible. But for larger blobs it is noticeable.

2 Likes

I’ll check out fast64, thanks for mentioning. I have some pretty big blobs being encoded/decoded with the way we handle encrypting and decrypting people’s images.

I use ex_json_schema for validating some healthcare data.

3 Likes

A lot of essential and interesting libraries have already been mentioned.

I would like to mention the ones I use to do internationalization in my Phoenix projects.

I find that in this regard, @kip brings an invaluable grain of salt with his suite of CLDR libraries (Elixir CLDR · GitHub). I use them in most of my projects.

Still in the field of internationalization, I also have a project in production that uses trans (GitHub - crbelaus/trans: Embedded translations for Elixir) to allow users to add content in several languages to the database.

Finally, although it’s not yet in production, I’m also closely following the phoenix_localized_routes library. I think that this library will greatly improve the SEO of multilingual phoenix applications with ease.

Many thanks to all the contributors of the mentioned libraries as well as those which have not yet been mentioned. ^^